News for hackers. Stuff that matters.
Re:Nginx HTTP Push Module by thijsterlouw on Thursday November 19, 2009 @09:58AM (#950325)
did anyone already do performance tests? I'm especially interested in memory and cpu usage. Any limitations?
Re:Nginx HTTP Push Module by slact on Thursday November 19, 2009 @11:59AM (#950562)
Everything is pretty much as efficient as vanilla nginx. There are some O(log(n)) lookups, but i've not noticed CPU usage hit anything even remotely suspicious (fixed bugs aside).

Memory usage for long-polling requests is regular nginx usage ("2.5MB for 10K idle connections"), + around a hundred bytes or so per ling-polling requests. A channel eats up about a dozen bytes.

The only limitation that one might run into is the maximum memory allotted for shared messages -- but that's a configurable value.