Nginx HTTP Push Module
pushmodule.slact.net
Nginx HTTP Push Module
1–10 of 11 posts
Re: Nginx HTTP Push Module
#2Re: Nginx HTTP Push Module
#3Re: Nginx HTTP Push Module
#4Re: Nginx HTTP Push Module
#5Re: Nginx HTTP Push Module
#6Re: Nginx HTTP Push Module
#7did anyone already do performance tests? I'm especially interested in memory and cpu usage. Any limitations?
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.
Re: Nginx HTTP Push Module
#8Beep. I wrote this. Questions, comments -- ask away.
Re: Nginx HTTP Push Module
#9Beep. I wrote this. Questions, comments -- ask away.
Re: Nginx HTTP Push Module
#10Beep. I wrote this. Questions, comments -- ask away.
How would you go about restricting access to channels to a specific user or users? My first take would be to issue an unguessable id upon successful authentication and use this id as the channel id -- a shared secret. Only those who should know the id do know it.
I don't see support for streaming; the connection to the long-polling client is closed after consuming. Are you planning on adding support for streaming new messages as they are published?