Dear All,
I am trying to resolve a particular issue that is not getting solved
easily.
Nginx is able to route requests but the speed of routing is slowing
down…when I am increasing the number of upstream ports.
I have an app which responds in under 500ms. When I route those requests
through nginx to about 50 ports, nginx response rates increases to
1500-2500
ms whereas the app can handle large concurrent requests and there are as
many as 50 ports.
I have tried this with both fair and e-y load balancer but with similar
results.
I have also tuned nginx configuration for response times, timeouts etc
but
still I see similar results.
Can anyone advise me if they have experienced a similar problem earlier
and
if they have a solution for this?.
On Wed, Jun 17, 2009 at 06:49:39PM +0530, Asif A. wrote:
Yes - thats what I meant …the upstream are pointing to different web server
ports…
Running too many of them causes nginx to delay while routing.
Any reasons why this is happening?.
If all 50 ports are on the same host, then it means that you run 50
copies
of web server on the host and they competes for CPU. It is not related
to nginx. Why do you run 50 copies of the web server at all ?
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.