further "Hacking" the event model of Nginx

Mauro Stettler mauro.stettler at gmail.com
Fri Jul 16 08:27:49 MSD 2010


you really need to specify more details about what you are doing. is
that HTTP? what are you processing, maybe you don't need to hack
anything, depending on what you do with the request...

On Fri, Jul 16, 2010 at 12:02, Vincent Huang <lists at ruby-forum.com> wrote:
> Hi all,
>
> I have read the following post.
> http://www.ruby-forum.com/topic/149417
> It is helpful, I am new to nginx and need some instructions on my work.
>
> We have 3 machines, server MASTER is the application server visible to
> client. server WORK1 and server WORK2 is the task processing server. the
> request sequence is like this:
>
> 0. client
>            -send request
>
> 1. nginx server MASTER:
>            -receive request
>            -extract useful information from request
>            -post the re-structured extract data to nginx server WORK1
>
> 2. nginx server WORK1:
>            -receive the request
>            -process...
>            -send back response
>
> 3. nginx server MASTER:
>            -receive the response from WORK1
>            -post the response data to nginx server WORK2
>
> 4. nginx server WORK2:
>            -receive the request
>            -process...
>            -send back response
>
> 5. nginx server MASTER:
>            -receive the response from WORK2
>            -send back the response data to client
>
> Can anyone help me on where to hack on nginx that can suit my scenario.
>
> Regards,
> Vincent
> --
> Posted via http://www.ruby-forum.com/.
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>



More information about the nginx mailing list