Measuring nginx's efficiency

ST smntov at gmail.com
Thu Jun 29 17:38:12 UTC 2017


On Thu, 2017-06-29 at 16:16 +0300, Valentin V. Bartenev wrote:
> On Thursday 29 June 2017 15:32:21 ST wrote:
> > On Thu, 2017-06-29 at 15:09 +0300, Valentin V. Bartenev wrote:
> > > On Thursday 29 June 2017 14:00:37 ST wrote:
> > > > Hello,
> > > > 
> > > > with your help I managed to configure nginx and our website now can be
> > > > accessed both - through apache and nginx.
> > > > 
> > > > Now, how can I prove to my boss that nginx is more efficient than apache
> > > > to switch to it? How do I measure its performance and compare it to that
> > > > of apache? Which tools would you recommend?
> > > > 
> > > > Thank you in advance!
> > > > 
> > > 
> > > I suggest wrk.
> > > 
> > > https://github.com/wg/wrk
> > > 
> > 
> > Should I stress our production system with this tool? Our system blocks
> > users that make to many requests in a given amount of time...
> > Also, how do I prove that static content is now served faster?
> > 
> > Thank you.
> > 
> 
> Switching from Apache to nginx usually isn't about speed, but about scalability.
> It's all about how many users/connections you can serve from the same hardware.
> 

Shouldn't it be also about speed, at least for static content, that no
longer needs to be served through php-engine? And thus overall loading
speed should be higher?



More information about the nginx mailing list