http Keepalive implementation

Lord Nynex lordnynex at gmail.com
Thu Jun 19 21:32:57 UTC 2014


Hello,

It seems ZMQ and Nginx keep coming up in conversations lately. There seems
to be differing opinions on it's performance/feasibility in production. Do
you plan to open source your code? I'd be curious to look at it.


On Thu, Jun 19, 2014 at 12:24 AM, prkumar <nginx-forum at nginx.us> wrote:

> I was going through NGINX source code to implement keepalive for nginx
> zeromq plugin that I have developed.
> I have been inspired by ngx_http_upstream_keepalive_module. Was wondering
> why nginx uses a kind of two linkedlist based stack implementation to
> implement keepalive connection pool. Why not use  typical linkedlist based
> queue implementation.
> Kindly refer to ngx_http_upstream_keepalive_module.c
> :ngx_http_upstream_get_keepalive_peer
> ngx_http_upstream_keepalive_module.c:ngx_http_upstream_free_keepalive_peer
>
> I used exactly like this without wondering why, now I kind of want to know
> the reason.
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,251033,251033#msg-251033
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140619/0505acff/attachment.html>


More information about the nginx mailing list