Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We are using nginx as reverse proxy. There are 4 servers (1x nginx, 2x uWSGI, 1x DB + Memcached). One user told me some time ago, that he has for 3 months problems with loading speed of website. Every request takes 5-10 secs, when for me it takes less than second. What can cause problem? When I did test, and give him access to other IP but NATed to same local address:port, he told me that it's faster, but not yet fast enough.

Our structure - Network -> NAT external IP to internal -> nginx.

share|improve this question

2 Answers 2

up vote 0 down vote accepted

I would approach this problem in a three step fashion:

1) Use tcping from your computer and his computer to see the latency differences. tcping.exe is a small console application that operates similarly to 'ping', however it works over a tcp port.

2) Use the Firefox plug-in FireBug and/or Yahoo's YSlow. These will tell you which part of the web page is loading slowly.

  1. http://www.elifulkerson.com/projects/tcping.php
  2. http://getfirebug.com/
  3. http://developer.yahoo.com/yslow/

3) Check that slow DNS resolution is not slowing him down.

share|improve this answer
    
Yep, this is something with his DNS. :S –  ThomK Jul 25 '11 at 16:57

ipconfig -flushdns if you havent tried it yet, then also clear his cashe in the browser. maybe clear your cashe in your proxy device, our bluecoat devices will cashe sites behind the reverse proxy. i just clear the cashe and things run smoother.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.