Welcome! Log In Create A New Profile

Advanced

Re: further "Hacking" the event model of Nginx

Johan Bergström
July 16, 2010 03:30AM
Hey,

Wouldn't http://wiki.nginx.org/NginxXSendfile work for bouncing your request between servers without modifying source code (thats how I do it) ?

Cheers,
Johan

On 16 jul 2010, at 06.02, Vincent Huang 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@nginx.org
> http://nginx.org/mailman/listinfo/nginx


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

further "Hacking" the event model of Nginx

Vincent Huang July 16, 2010 12:08AM

Re: further "Hacking" the event model of Nginx

replay July 16, 2010 12:32AM

Re: further "Hacking" the event model of Nginx

Vincent Huang July 16, 2010 12:54AM

Re: further "Hacking" the event model of Nginx

replay July 16, 2010 01:12AM

Re: further "Hacking" the event model of Nginx

Vincent Huang July 16, 2010 02:52AM

Re: further "Hacking" the event model of Nginx

Johan Bergström July 16, 2010 03:30AM

Re: further "Hacking" the event model of Nginx

Vincent Huang July 16, 2010 03:40AM

Re: further "Hacking" the event model of Nginx

Johan Bergström July 16, 2010 03:56AM

Re: further "Hacking" the event model of Nginx

Vincent Huang July 16, 2010 04:52AM

Re: further "Hacking" the event model of Nginx

Maxim Dounin July 17, 2010 03:00AM

Re: further "Hacking" the event model of Nginx

Ashish S Dev March 08, 2012 09:14PM

Re: further "Hacking" the event model of Nginx

Ashish S Dev March 08, 2012 09:16PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 199
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