Link to home
Create AccountLog in
Avatar of mmichaels1970
mmichaels1970

asked on

My hosted asp.net 4.0 website performs better when clients are connected VPN

Hello experts,

I currently have a corporate website that I am hosting on a dedicated IIS server (Windows Server 2008).  I also have a dedicated SQL Server 2008R2 server running on Server 2012.  The website is very data-driven and contains lots of grids and controls from DevExpress.

Recently, users have complained that the site performance, specifically interactions with my aspxgridview controls is extremely slow.  However, if I have those same users connect to my company via VPN and then access the site, everything seems to speed up.

My DNS and domain name is hosted at Network Solutions.  Would anybody have any idea why a corporate intranet site would perform better over a VPN connection that when accessing it directly through the internet?

I've tried searching the web and searching the developers of my asp.net controls, but haven't found any leads.
Avatar of gheist
gheist
Flag of Belgium image

How do you measure that?
Avatar of Dan McFadden
Exactly, how you measuring performance?

Remember, user perceived performance does not accurately reflect a real performance issue on your site.  There are many other factors to consider when objectively measuring performance.  Each user experience is subjective and based on a unique set of circumstances, specific to them.  If you can correlate a specific user experience issue across multiple users, then it should be investigated.

Also, what other devices sit between your internet site and the users that are accessing the site without VPN?  Firewall, reverse proxy, load balancer, routers, switches, etc.?

What does the access path look like when access comes over VPN?

Have you analyzed your http logs to see if requests are taking longer to fulfill when accessed from certain IPs?  If you have logging enabled, hopefully you are logging all fields in your https logs.   Can you post some logs?

Dan
SOLUTION
Avatar of gheist
gheist
Flag of Belgium image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of mmichaels1970
mmichaels1970

ASKER

Here's a basic measurement.  I go to the website http://mysite.mydomain.com and attempt to refresh a grid.  It takes a full 15-20 seconds before the "loading" panel disappears and my data is presented.

I connect to my corporate network via VPN and reload the page.  I attempt to refresh the same grid and it takes less than one second.

I just feel like there's some sort of DNS issue going on or something.  When I connect vpn and ping my webserver, I obviously get replies from an internal IP address.  When not connected to vpn and I ping, I get replies from my internet IP address.  Both pings are similar in ms with VPN even being a few ms slower.

But the site flies when the vpn connection is made.  This leads me to believe that there must be some sort of DNS issue going on or something unrelated to database speed, IIS speed, etc.
I have an ADTRAN firewall between the internet and my server which routes http requests from the internet IP to the correct server over port 80.  Seems like the bottleneck might be there somewhere.  The VPN connection would be going through the firewall through a different port to a different server and then route the http requests internally to the webserver.  Am I making sense?

I'll check my logs and see if there is anything with my firewall configuration that might be worth posting here.
ASKER CERTIFIED SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account