Nginx channel

Would be great where channels are used, I am talking about ngx_channel?

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,250694,250694#msg-250694

On 6 June 2014 12:41, nginxsantos [email protected] wrote:

Would be great where channels are used, I am talking about ngx_channel?

Please rearrange your words into a comprehensible sentence and/or
question.

Thank you.

I was not clear about the usage of ngx_channel? When each worker process
is
started, the function “ngx_pass_open_channel” is called. It is not clear
to
me where we do use the channels, I mean for what ?

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,250694,250697#msg-250697

Hello!

On Fri, Jun 06, 2014 at 08:14:25AM -0400, nginxsantos wrote:

I was not clear about the usage of ngx_channel? When each worker process is
started, the function “ngx_pass_open_channel” is called. It is not clear to
me where we do use the channels, I mean for what ?

Channels are used to pass control messages from master to workers.
In particular, this is how master asks workers to shutdown, reopen
logs and so on.

It is planned that this infrastructure will also allow workers to
pass various notifications from one process to others, though it’s
not something currently available.


Maxim D.
http://nginx.org/

Thanks Maxim. It helps…

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,250694,250700#msg-250700

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs