Nginx Logging to Zeromq Module - Sparkngin
thierry.magnien at sfr.com
Tue Dec 10 09:39:39 UTC 2013
> I have been looking at that module and a couple others including https://github.com/FRiCKLE/ngx_zeromq
> My understanding is that nginx uses a number of worker process that are isolated, but need to see how zeromq handles that and if a socket can me shared. Given that they aren't thread safe I assume that is a >no. I will pay attention to this part http://zguide.zeromq.org/page:all#Getting-the-Context-Right
> Saw that, will look where a setup call can happen this is helpful.
> I have been reading Evan Miller's guide, thanks
>* Planning on using zero-copy
>* Not sure if redis would be faster under high load but that would be pretty interesting to see.
I don't know much about Zeromq performance, but we pushed redis to about 300k commands per second on our production servers (8 cores), and benchmarks on better hardware (24 cores) show it could handle close to 500k/s.
More information about the nginx-devel