# Re: About nginx module developing

**URL:** <https://www.ruby-forum.com/t/re-about-nginx-module-developing/215902>\
**Category:** NGINX\
**Created:** [January 19, 2012, 4:22am UTC](https://www.ruby-forum.com/t/re-about-nginx-module-developing/215902 "2012-01-19T04:22:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [January 19, 2012, 4:22am UTC](https://www.ruby-forum.com/t/re-about-nginx-module-developing/215902/1 "2012-01-19T04:22:57Z")

</div>

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"[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid);  
Date: Thu, Jan 19, 2012 10:45 AM  
To: "nginx"[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid);  
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"[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid);  
Date: Mon, Jan 16, 2012 06:19 PM  
To: "nginx"[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid);  
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  
removed\_email\_address@domain.invalid  
[http://mailman.nginx.org/mailman/listinfo/nginx](http://mailman.nginx.org/mailman/listinfo/nginx)

  
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ nginx mailing list removed\_email\_address@domain.invalid http://mailman.nginx.org/mailman/listinfo/nginx
