3 ms·
If I'm reading the docs correctly, you'd have to make a server-side HTTP request from your synchronous app to nginx for each message you want to push to each cl
by mrshoe 17y ago
If I'm reading the docs correctly, you'd have to make a server-side HTTP request from your synchronous app to nginx for each message you want to push to each client. I'm pretty sure that will be prohibitively slow.
It would be much nicer if you could make one server-side request for each event, and have nginx track which clients are interested in that type of event and even queue that event for a while for clients that are yet to connect.
- labria 17y agoNo. You just set the "push_listener_concurrency" setting to "broadcast", and have as many listeners on one channel as you like.
- danielrhodes 17y agoHTTP prohibitively slow? You don't say! :-) If this does become an issue, it is a tradeoff between speed and memory usage and ease of implementation.