axon
axon copied to clipboard
message-oriented socket library for node.js heavily inspired by zeromq
if there's no response and a pipe breaks etc that callback will be in limbo. in many cases this may not matter at all, we could just timeout and error...
multiplexed streams. write end: ``` js var axon = require('..'); var fs = require('fs'); var c = axon.socket('channel'); c.bind(3000); var files = [ 'lib/sockets/channel.js', 'lib/sockets/pub.js', 'lib/sockets/sub.js', 'lib/sockets/pull.js', 'lib/sockets/push.js' ] files.forEach(function(file){...
for subscriptions. back when we were going the router/dealer route propagation would have been a bit more annoying but now that we would just relay with pub/sub all the way...
if a client is having a bad time we shouldn't be plastering it with a large queue on connection haha :D, this could easily lead to thrashing. normally this would...
I want to use axon with secure-peer for super easy security and thus need access to the raw stream. Any plans on doing this?
note to self
when all have closed, currently we handle some of this as if there was only one connect(), same with "connect" event etc. we can have say "socket close" or similar...