[nodejs] Hook.io performance

2012-07-01 Thread Dan Milon
Hello, I am using hook.io for some project. Today i thought of measuring how fast hook.io can emit and receive messages, so i built a dead simple benchmark [1], and numbers are not that interesting. It took 15 secs to deliver 10k messages from one hook to another. I do not know the

Re: [nodejs] Hook.io performance

2012-07-01 Thread Dan Milon
30 million messages :/ On 07/02/2012 02:11 AM, Marak Squires wrote: Err, is ~30mil 30 milliseconds or 30 million messages? On Sun, Jul 1, 2012 at 4:10 PM, Marak Squires marak.squi...@gmail.com mailto:marak.squi...@gmail.com wrote: How far off are you from hitting your 30ms latency

Re: [nodejs] Hook.io performance

2012-07-01 Thread Marak Squires
Wow That is a lot of messages. I'd recommend trying to re-architect the solution you are building. It doesn't seem like a good idea to use dnode ( or even the node net module ) to pass that many messages on start. If you want to use node, you'll probably need to bring in an add-on that links to

Re: [nodejs] Hook.io performance

2012-07-01 Thread Dan Milon
At start i mean one time before we go live, its a migration, but the messages have to go through node so it generates some data. Thanks Marak! On 07/02/2012 02:25 AM, Marak Squires wrote: Wow That is a lot of messages. I'd recommend trying to re-architect the solution you are building. It