As of today, I've done literally no performance optimizations for hook.io. hook.io's power is in API and discovery.
If you require more then 666.66 messages per second out of the box, you should not be using dnode as your message transport. hook.io currently uses dnode as it's primary message transport. hook.io is intended to be multi-transport, so for high performance situations you'd want to use hook.io as a wrapper around a more robust solution like 0mq. If do you don't mind, I'd be interested in hearing what your intended use case for hook.io was which would require that throughput. Always good to get more input to shape the API. On Sun, Jul 1, 2012 at 3:18 PM, Dan Milon <[email protected]> wrote: > 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 underlaying mechanisms hook.io uses for IPC (please > enlighten me), but isn't this performance quite low? Or is there something > wrong with the test? > > Thanks, > Dan Milon. > > [1] https://gist.github.com/**3029842 <https://gist.github.com/3029842> > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: https://github.com/joyent/**node/wiki/Mailing-List-** > Posting-Guidelines<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 post to this group, send email to [email protected] > To unsubscribe from this group, send email to > nodejs+unsubscribe@**googlegroups.com<nodejs%[email protected]> > For more options, visit this group at > http://groups.google.com/**group/nodejs?hl=en?hl=en<http://groups.google.com/group/nodejs?hl=en?hl=en> > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: 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 post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
