[nodejs] When a HTTP client was hung-up, then the HTTP server is hung-up!

2013-03-21 Thread
#x27;); } } But, the code has used two undocumented properties: - http.ServerResponse.socket - net.Socket._pendingWriteReqs What should I do better solutions? Or this way is right? Thanks. Toru Nagashima (長島 徹). -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https:/

Re: [nodejs] Do ZLib stops the js main loop?

2012-12-05 Thread
|15] data3: [ 4| 8|12|16] So, seemed to return after all process done. Oh in fact, them have completed at the same time really. Thanks a lot! 2012年12月6日木曜日 12時01分09秒 UTC+9 Bert Belder: > > On Thursday, December 6, 2012 3:18:42 AM UTC+1, 長島徹 wrote: >> >> Thanks for the response.

Re: [nodejs] Do ZLib stops the js main loop?

2012-12-05 Thread
it for the previous ones to complete. > Its just more load, so the threads queue up, hence the high latencies. > > danmilon. > > On 12/05/2012 12:24 PM, 長島徹 wrote: > > Hello. > > > > I found a strange behavior. I want to get the method to avoid the > >

[nodejs] Do ZLib stops the js main loop?

2012-12-05 Thread
Hello. I found a strange behavior. I want to get the method to avoid the behavior. I compress a data (around 1.8MB) with ZLib. result: ok(84ms): 0_data.json.gz OK, the process finished on around 100ms. I tried to compress the data in parallel 50. Having done that, all processes were slow simil