How does nginx keep up with logging thousands requests per second

Steven Hartland steven.hartland at multiplay.co.uk
Tue Nov 11 13:39:16 UTC 2014


For file logging it supports buffering see the docs here:
http://nginx.org/en/docs/http/ngx_http_log_module.html#access_log

On 11/11/2014 12:37, Alexander Todorov wrote:
> Hi guys,
> I've seen some reports on the web claiming nginx can serve in the 
> order of 10000
> requests per second (correct me if I'm wrong).
>
> I also see that logging to syslog is supported.
>
> Is logging to syslog or filesystem comparable with the speed which 
> nginx can
> serve content ?  If not how does nginx keep up with logging (being a slow
> operation) so many requests ?
>
>
> Thanks,
> Alex
>
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel



More information about the nginx-devel mailing list