[nodejs] Re: New Amazon SDK for Node.js - the view from AwsSum

2012-12-05 Thread alessioalex
Hey Andrew, thank you for your AWSome module. I wanted to use a Node module for Route53 (dynamic dns update for my domain a la dyndns/no-ip) and just yesterday discovered AwsSum (if I hadn't, I would have coded my own module). I was really impressed to see the support for so many services and

[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

Re: [nodejs] about node js

2012-12-05 Thread Ryan Schmidt
On Dec 4, 2012, at 03:26, atul kanekar wrote: var http = require('http'); http.createServer(function (req, res) { res.writeHead(200, {'Content-Type': 'text/plain'}); res.end('Hello Node.js\n'); }).listen(5190,124.153.76.232); Port 5190 is registered with the IANA as belonging to the

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

2012-12-05 Thread Dan Milon
It doesnt look like they wait 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 behavior. I compress a data

Re: [nodejs] Why does htop show mutiple threads for node.js ?

2012-12-05 Thread Ryan Schmidt
On Dec 5, 2012, at 04:11, Ben Noordhuis i...@bnoordhuis.nl wrote: OS X is not worth considering even if it wasn't broken. No one runs his production systems on OS X. Certainly many users use node on OS X on their development systems, and Apple does sell capable servers and a server OS, so

Re: [nodejs] Why does htop show mutiple threads for node.js ?

2012-12-05 Thread Alex Kocharin
Hi Ryan, 1) The talk is about AIO, not about OS (and yes, it is broken anywhere except Solaris according to prev. discussion, didn't check though) 2) The talk is about performance (which means things will still work, but a bit slower) 3) The talk is about production servers where bits of

Re: [nodejs] Re: New Amazon SDK for Node.js - the view from AwsSum

2012-12-05 Thread Andrew Chilton
Hi Alex, On 5 December 2012 21:40, alessioalex alessio.ijoo...@gmail.com wrote: Hey Andrew, thank you for your AWSome module. I wanted to use a Node module for Route53 (dynamic dns update for my domain a la dyndns/no-ip) and just yesterday discovered AwsSum (if I hadn't, I would have coded my

[nodejs] Need recomendation for a native folder compression tool

2012-12-05 Thread Alan Hoffmeister
Hello there, I'm working on a backup tool using Node.js, but I couldn't find any native package that work with hight compression algos and folder compression. I need this because the script will run on Windows and Unix systems. My preferences are xz (isn't it the official name for lzma2?), lzma,

[nodejs] Error on test_queue Haraka Plugin

2012-12-05 Thread Cleiviane Costa
Hi! Someone is using Haraka on version 2.0? I am trying to use the test_queue plugin but is given the follow error: loglevel: LOGPROTOCOL Starting up Haraka version 2.0.0 [INFO] [-] [core] Loading plugins [INFO] [-] [core] Loading plugin: rcpt_to.in_host_list [DEBUG] [-] [core] registered hook

[nodejs] Re: possible memory leak in node cluster?

2012-12-05 Thread Eyko Sioux
We're having a very similar problem, I was wondering if you made any advancements on this? I hate having to kill a worker then doing another cluster.fork() On Sunday, 12 August 2012 16:50:16 UTC+1, Yi wrote: Hi We have recently experienced a strange issue with node cluster. It looks like

[nodejs] Building a Real-time SMS Voting App using Node.js

2012-12-05 Thread Carter Rabasa
Quick FYI for people just getting started with Node.js I just published Part 2 of a 4-part series on building a real-time SMS voting app using Node.js from scratch. These blog post are step-by-step tutorials and primarily targeted at people just getting started with Node.js. Hope some

[nodejs] Clock white paper on NodeJS published recently

2012-12-05 Thread Daniel Goldberg
Hi, Below is the link for the Clock white paper on NodeJS published recently recommending business to adapt this technology: http://clock.co.uk/downloads/ten-reasons-to-use-nodejs.pdf -- Job Board: http://jobs.nodejs.org/ Posting guidelines:

Re: [nodejs] Need recomendation for a native folder compression tool

2012-12-05 Thread Alan Hoffmeister
Thanks Nathan, I'm testing it right now, I'll post some feedback. -- Att, Alan Hoffmeister 2012/12/5 Nathan Rajlich nat...@tootallnate.net Well you could use node-tar[0] to create a tarball of the directory, and then use the zlib[1] module to compress the tarball using gzip. Essentially

Re: [nodejs] Re: possible memory leak in node cluster?

2012-12-05 Thread Yi Tan
Hi Eyko, The memory leak issue had been solved, it was cause by an bug in our code, which kept generating unused buffers. It's not due to the node cluster. From our production usage, node cluster is solid. regards, ty Regards, ty 2012/12/5 Eyko Sioux eykosi...@gmail.com We're having a

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

2012-12-05 Thread 長島徹
Thanks for the response. Can I avoid or lessen that worker threads delay the JavaScript main thread? 4 CPU cores exists and HT supported. (I think ... the priority of main thread set to higher, ...?) Toru Nagashima. 2012年12月5日水曜日 19時27分09秒 UTC+9 Dan Milon: It doesnt look like they wait for

Re: [nodejs] Why does htop show mutiple threads for node.js ?

2012-12-05 Thread Ben Noordhuis
On Wed, Dec 5, 2012 at 11:11 AM, Ben Noordhuis i...@bnoordhuis.nl wrote: On the other hand, Linux AIO only works with files opened in O_DIRECT mode. You no longer benefit from the disk cache so in general it will be slower, possibly a lot slower. O_DIRECT only makes sense for very