Welcome! Log In Create A New Profile

Advanced

Re: About nginx module developing

ZHOU Xiaobo
January 18, 2012 10:24PM
And the 3 bitmap are provided through network, that is, 3 backend servers provide service
to test the bits in the bitmap.
So I want nginx to visit the 3 backend servers through module but not cgi-like things because of the
high RPS from clients.

------------------
Sincerely yours
ZHOU Xiaobo



------------------ Original ------------------
From: "xb.zhou"<xb.zhou@qq.com>;
Date: Thu, Jan 19, 2012 10:45 AM
To: "nginx"<nginx@nginx.org>;
Subject: Re: About nginx module developing

thanks, but I don't think SSI can satisfy my need. Because I want the RPS to be up to the limit of nginx it self.
My demand is easy and much like a http-push server:
1, I maintain 3 bitmaps
2, the clients request every 60 seconds
3, if the bit of the 3 bitmaps for this client is set, than forward to the upstream, or just response 200.

------------------
Sincerely yours
ZHOU Xiaobo



------------------ Original ------------------
From: "Andrey N. Oktyabrski"<ano@bestmx.ru>;
Date: Mon, Jan 16, 2012 06:19 PM
To: "nginx"<nginx@nginx.org>;
Subject: Re: About nginx module developing

On 15.01.12 19:31, ZHOU Xiaobo wrote:
> I am new to nginx module developing.
> I want to implement a module to deal with this demand:
>
> 1, nginx receives a request from client
> 2, nginx sends two internal requests(http or protobuf etc.) to 2 backend servers
> 3, after the responses of the two internal requests received nginx makes the response and sends to the client
>
> I am not sure that whether nginx can do this.
Maybe SSI is what you want?

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

<br>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

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

About nginx module developing

ZHOU Xiaobo January 15, 2012 12:06PM

Re: About nginx module developing

replay January 15, 2012 06:34PM

Re: About nginx module developing

ZHOU Xiaobo January 18, 2012 09:48PM

Re: About nginx module developing

ZHOU Xiaobo January 18, 2012 10:24PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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