<div dir="ltr">Hello, <div><br></div><div>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. </div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 19, 2014 at 12:24 AM, prkumar <span dir="ltr"><<a href="mailto:nginx-forum@nginx.us" target="_blank">nginx-forum@nginx.us</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I was going through NGINX source code to implement keepalive for nginx<br>
zeromq plugin that I have developed.<br>
I have been inspired by ngx_http_upstream_keepalive_module. Was wondering<br>
why nginx uses a kind of two linkedlist based stack implementation to<br>
implement keepalive connection pool. Why not use typical linkedlist based<br>
queue implementation.<br>
Kindly refer to ngx_http_upstream_keepalive_module.c<br>
:ngx_http_upstream_get_keepalive_peer<br>
ngx_http_upstream_keepalive_module.c:ngx_http_upstream_free_keepalive_peer<br>
<br>
I used exactly like this without wondering why, now I kind of want to know<br>
the reason.<br>
<br>
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,251033,251033#msg-251033" target="_blank">http://forum.nginx.org/read.php?2,251033,251033#msg-251033</a><br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</blockquote></div><br></div>