# Nginx-1.0.x+mod\_push vs node.js

**URL:** <https://www.ruby-forum.com/t/nginx-1-0-x-mod-push-vs-node-js/212634>\
**Category:** NGINX\
**Created:** [October 8, 2011, 10:48pm UTC](https://www.ruby-forum.com/t/nginx-1-0-x-mod-push-vs-node-js/212634 "2011-10-08T22:48:30Z")\
**Posts on this page:** 2\
**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:** [October 8, 2011, 10:48pm UTC](https://www.ruby-forum.com/t/nginx-1-0-x-mod-push-vs-node-js/212634/1 "2011-10-08T22:48:30Z")

</div>

Hi, I’d like to know if anyone is using nginx-1.0.x with mod\_push in  
production to keep persistent connections on a website.  
I’m little scary about the huge number of active connections my servers  
can mantain (10000 or 20000).  
I’m using a DELL R200 with FreeBSD 8.2-amd64 with SAS HD and 8GB Ram,  
using these sysctl:

kern.ipc.nmbclusters=262144  
kern.ipc.somaxconn=65535  
kern.maxfiles=524288  
kern.maxfilesperproc=131072  
kern.threads.max\_threads\_per\_proc=16384

If yes, did you evaluate pros and cons on nginx vs node.js or comet?

Thanks in advance,  
d.

---

<div class="post-metadata">

**Author:** ![Davide\_DSAmico](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/eb9ed0/32.png) [@Davide\_DSAmico](https://www.ruby-forum.com/u/Davide_DSAmico)\
**Post date:** [October 13, 2011, 2:19am UTC](https://www.ruby-forum.com/t/nginx-1-0-x-mod-push-vs-node-js/212634/2 "2011-10-13T02:19:24Z")

</div>

On Oct 8, 2011, at 4:47 PM, Davide D’Amico wrote:

> Hi, I’d like to know if anyone is using nginx-1.0.x with mod\_push in production  
> to keep persistent connections on a website.  
> I’m little scary about the huge number of active connections my servers can  
> mantain (10000 or 20000).

That’s not very many concurrent connections. I’ve seen nginx do much  
more with push.

–Brian
