Re: [nodejs] Scaling a spdyproxy Node.js server

2014-05-24 Thread Fedor Indutny
Oh, so the first problem is that the order matters here. Please put spdy/3.1 as a first protocol, and spdy/3 as a second. Additional important note that I forgot to tell you about: you'll need to either use SpdyProxy as a node.js module (not a cli tool) and pass `plain: true, ssl: false` options

Re: [nodejs] Scaling a spdyproxy Node.js server

2014-05-24 Thread Sai
Hi Fedor, Tried with the settings that you gave, added in the npn, it gives me error message "server sent empty response". Here is the chrome://net-internals/#events (http://pastebin.com/HchSCAwG), here is the new conf.json(http://pastebin.com/KJZY8yJ2) and PAC script(http://pastebin.com/9mpAz

Re: [nodejs] Scaling a spdyproxy Node.js server

2014-05-23 Thread Sai
Thank You Fedor, let me add it and test it. On Friday, May 23, 2014 10:09:02 PM UTC+5:30, Fedor Indutny wrote: > > Hey! > > You need to add `spdy/3.1`, `spdy/3` to the `npn` array. > > > On Fri, May 23, 2014 at 4:11 PM, Sai >wrote: > >> Hi Fedor, >> >> I have tried bud as well. I don't think it w

Re: [nodejs] Scaling a spdyproxy Node.js server

2014-05-23 Thread Fedor Indutny
Hey! You need to add `spdy/3.1`, `spdy/3` to the `npn` array. On Fri, May 23, 2014 at 4:11 PM, Sai wrote: > Hi Fedor, > > I have tried bud as well. I don't think it working on this proxy server. > Here is my conf.json file http://pastebin.com/N2KTAdMa. It is not doing > any connect requests or

Re: [nodejs] Scaling a spdyproxy Node.js server

2014-05-23 Thread Sai
Thank You Fedor for the quick reply. I'm trying to implement bud. However, I'm already using 0.11.14 pre version. However it is not upto the mark on a dedicated server with 16 cluster workers (i.e. on an 8 core machine). The workers kind of die after every 12-18 hours using it. Every time Ill h

Re: [nodejs] Scaling a spdyproxy Node.js server

2014-05-23 Thread Fedor Indutny
Well, I think you could check the logs. Server couldn't just die without saying anything at all. On Fri, May 23, 2014 at 12:25 PM, Sai wrote: > Thank You Fedor for the quick reply. I'm trying to implement bud. > > However, I'm already using 0.11.14 pre version. However it is not upto the > mark

Re: [nodejs] Scaling a spdyproxy Node.js server

2014-05-23 Thread Sai
Hi Fedor, I have tried bud as well. I don't think it working on this proxy server. Here is my conf.json file http://pastebin.com/N2KTAdMa. It is not doing any connect requests or anything. Just let me know if I'm doing anything wrong? Here is the log file of both bug and spdyproxy (http://past

Re: [nodejs] Scaling a spdyproxy Node.js server

2014-05-22 Thread Fedor Indutny
Hello! You could try setting `bud` (https://github.com/indutny/bud) in front of your servers, or using latest development version of node.js (0.11.x). Both have much better performance than node v0.10 Cheers, Fedor. On Thu, May 22, 2014 at 7:37 PM, Sai wrote: > > Hi, > > I have implemented a

[nodejs] Scaling a spdyproxy Node.js server

2014-05-22 Thread Sai
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