Welcome! Log In Create A New Profile

Advanced

Re: no performance improvement on nginx reverse-proxy

October 13, 2010 02:14AM
On Wed, 2010-10-13 at 12:33 +0800, yung wrote:

> After testing for some times (have been changing the arugments for
> http_load), I found nginx with reverse-proxy is not better than the
> realserver.
> Even the result is worse for accessing nginx than access apache directly.

> So how do you think about it?
> Suggestions are welcome. Thanks.
>

If you use a Ferrari to tow a dump truck, you will find that the dump
truck actually goes slightly faster on its own.
In short, there are so many bottlenecks in your test setup (Apache, CGI,
database) that the speed differences you see are probably not even
statistically significant.

Further, it's not clear at all why you think adding additional layers of
processing (a proxy) to your stack would somehow magically speed things
up. *Of course* it will be slower. How could you ever expect
anything different? The typical use-case of Nginx in front of Apache
is to allow Nginx to serve static resources to take the load away from
Apache. You could also use some of Nginx' caching features to take
load off Apache. You did none of these things. I think you need to
think harder about what you are testing.

Regards,
Cliff


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

no performance improvement on nginx reverse-proxy

yung October 13, 2010 12:38AM

Re: no performance improvement on nginx reverse-proxy

Cliff Wells October 13, 2010 02:14AM

Re: no performance improvement on nginx reverse-proxy

SplitIce October 13, 2010 02:22AM

Re: no performance improvement on nginx reverse-proxy

Igor Sysoev October 13, 2010 02:30AM

Re: no performance improvement on nginx reverse-proxy

Igor Sysoev October 13, 2010 02:22AM

Re: no performance improvement on nginx reverse-proxy

edgar r. March 19, 2012 11:32PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 168
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready