connection pool

Manlio Perillo manlio_perillo at libero.it
Mon Nov 19 13:11:47 MSK 2007


Aleksandar Lazic ha scritto:
> On Mon 19.11.2007 09:59, Igor Sysoev wrote:
>> On Sun, Nov 18, 2007 at 04:00:37PM +0100, Aleksandar Lazic wrote:
>>
>>> where is the best place to add a connection pool, for proxy backends
>>> into nginx?
>>
>> A connection pool by itself could be easy added.
> 
> Ok, I think in src/core/ngx_connection.c and a queue algo, right?
> 

I have added a queue implementation in mod_wsgi:
http://hg.mperillo.ath.cx/nginx/mod_wsgi/file/tip/src/ngx_queue.h
http://hg.mperillo.ath.cx/nginx/mod_wsgi/file/tip/src/ngx_queue.c

It uses an array.


Manlio Perillo





More information about the nginx mailing list