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.
ASP.NETMicrosoft IIS Web ServerWeb ServersNetworkingDNS

Avatar of undefined
Last Comment
Dan McFadden

8/22/2022 - Mon
gheist

How do you measure that?
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
gheist

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
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 started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
mmichaels1970

ASKER
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
Dan McFadden

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.