Hi,

I have implemented a proxy server based on 
spdyproxy(https://github.com/igrigorik/node-spdyproxy). I have added 
cluster on the binary file i.e. bin/spdyproxy 
(http://pastebin.com/BvtpK6kc).

I have tested this on various machines with node.js v0.11.14-pre 
(downloaded this for round robin on clustering, as earlier it was not using 
up all the workers)

1. Digitalocean droplets (dual core)
2. a virtual server (16 cores cpu)
3. a dedicated server (8 cores cpu) 

I'have opened this proxy now only for around 100-200 users anytime users 
and I want to scale it till upto 1000 or even more users. This I have 
bundled into chrome as an extension where users enable this and anonymise 
themselves for privacy reasons. I have talked to the developer of spdyproxy 
, he said more cpu and more RAM would not help as there are not compute 
tasks, but I have taken number of more cores just for cluster module to 
create the worker process.

I have done tcp/ip tuning as well increased here is the sysctl.conf 
additional tcp settings(http://pastebin.com/x9FnqY4u), files are unlimited, 
following this 
suggestion(http://blog.caustik.com/2012/08/19/node-js-w1m-concurrent-connections/)
 
The core problem on the dedicated server (which is production), the workers 
keep dying after every 12-18 hours periods.

I have been looking for what the problem is...!  there is issue on tls on 
this blog (https://blog.indutny.com/0.benchmarking-tls), is this what 
causing the problem, or the server.js errors in the code node-spdyproxy or 
is it that or still node.js not ready for this.

Also what caused the threads(cluster process) die slowly one after the 
other?

How can I get rid of --debug-port for cluster in this build?

Thank You
Sai

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/a72d6692-5063-457a-bf2f-fc5595c3fd98%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to