We help IT Professionals succeed at work.

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

120 Views
Last Modified: 2016-07-16
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.
Comment
Watch Question

Top Expert 2015

Commented:
How do you measure that?
Dan McFaddenTechnical Lead - Active Directory
CERTIFIED EXPERT

Commented:
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
Top Expert 2015
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
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.

Author

Commented:
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.
Technical Lead - Active Directory
CERTIFIED EXPERT
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.