nginx push question
mbaroukh at cardiweb.com
Wed Jun 30 13:56:10 MSD 2010
Thanks a lot for your response.
I knew I can do this way but as said in my question :
> I don't wan't each user to have as many request pending as subscribed
> channels ...
I suppose it is effectively actually the only way but I think it would
not be hard to have something less resources consuming.
I'll try to look at the module but I'm not a c programmer (I only have
Cardiweb - 29 Cite d'Antin Paris IXeme
+33 6 63 57 27 22 / +33 1 53 21 82 63
Le 30/06/2010 11:47, Ian Hobson a écrit :
> On 30/06/2010 09:55, Mike Baroukh wrote:
>> I found the nginx_push_module recently and I'm trying to find if it
>> can fill my needs.
>> It is really fantastic when 1 user subscribe to 1 stream.
>> But, can someone tell me if there is a way for one user to subscribe
>> with one request to many channel ?
>> I don't think because in the activity http response, there is no
>> header with he channel id to distinguish responses :
> Hi Mike,
> The way to do this is to have two httprequests outstanding, one for
> each channel.
> If you set them up with different callbacks for when a response
> arrives then the messages for each channel will flow through
> independently of the other.
> nginx mailing list
> nginx at nginx.org
More information about the nginx