Welcome! Log In Create A New Profile

Advanced

Re: nginx push question

Mike Baroukh
June 30, 2010 06:02AM
Hi Ian.

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
Java skills).

Thanks.

Mike Baroukh

---
Cardiweb - 29 Cite d'Antin Paris IXeme
+33 6 63 57 27 22 / +33 1 53 21 82 63
http://www.cardiweb.com/
---


Le 30/06/2010 11:47, Ian Hobson a écrit :
> On 30/06/2010 09:55, Mike Baroukh wrote:
>>
>> Hi.
>>
>> 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.
>
> Regards
>
> Ian
>
>
>
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx push question

Mike Baroukh June 30, 2010 05:02AM

Re: nginx push question

hobson42 June 30, 2010 05:52AM

Re: nginx push question

Mike Baroukh June 30, 2010 06:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 264
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready