You could try uhura. http://github.com/NodeFly/Uhura

I'm the primary contributor to Uhura. We use it at NodeFly to pipe around all 
our data. It's designed to behave mostly the same as socket.io, but only node 
clients are support so there's no alternative transports to much about 
with--just TCP. You can use a redis store to allow you to have more than one 
server instance, but that is not required.

I wouldn't really call that pubsub though. It assumes many clients connecting 
to one central receiver, while pubsub generally assumes multiple receivers.

If want you want is a many-to-many design for something like a service-oriented 
architecture, you'll probably want some sort of message queue system. It might 
be worth looking at http://github.com/visionmedia/axon, which is basically a 
zeromq clone without needing to install a native module. 


On Sunday, 4 August, 2013 at 2:39 PM, Mark Hahn wrote:

> As you said, ZeroMQ, Faye, etc. require a 3rd party library.  See below why I 
> don't want this.
> 
> I'm already using Socket.io (http://Socket.io) but I don't think it solves my 
> problem and I think it requires redis be installed separately. There is 
> virtually no documentation on socket.io (http://socket.io) with redis. 
> 
> Postal.js falls into that category of pub/sub modules that make no mention as 
> to whether they work across different node processes with IPC.  A blog entry 
> talks about cross-frames in the browser but that is quite different.  I guess 
> I'll have to dive into the code to figure this out.  Or I'll ask in an issue. 
> 
> I didn't explain why I don't want the requirement for an external install.  
> My app is going to be a tool for developers to use that runs in their browser 
> but it requires them to install a module on their server.  I fear that if 
> they need to go to the trouble to install something like redis they'll never 
> try it out. 
> 
> 
> On Sun, Aug 4, 2013 at 1:17 PM, Brian Lalor <[email protected] 
> (mailto:[email protected])> wrote:
> > I'd recommend ZeroMQ, but it does require a 3rd party library with 
> > development headers to be installed first. It's a great technology, 
> > however, and has bindings for a number of languages.  
> > 
> > How about Faye? Socket.io (http://Socket.io), or SockJS? Postal.js? 
> > 
> > --
> > Brian Lalor
> > [email protected] (mailto:[email protected])
> > 
> > 
> > On Aug 4, 2013, at 2:29 PM, Mark Hahn <[email protected] 
> > (mailto:[email protected])> wrote:
> > 
> > > What is the closest pubsub alternative to hook.io (http://hook.io)?  Or, 
> > > what is your favorite pubsub solution?  When I searched for "pubsub 
> > > nodejs" I got a headache trying to read them all.
> > > 
> > > My biggest problem was that all the pubsub alternatives don't mention 
> > > whether they work between different instances of node (IPC).  Is it 
> > > assumed that they all don't?
> > > 
> > > As I posted here recently I'd like to use a solution other than redis so 
> > > that a user can just do "npm install myModule" and be done with it. 
> > > 
> > > 
> > > 
> > > -- 
> > > -- 
> > > 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] 
> > > (mailto:[email protected])
> > > To unsubscribe from this group, send email to
> > > [email protected] 
> > > (mailto:[email protected])
> > > For more options, visit this group at
> > > http://groups.google.com/group/nodejs?hl=en?hl=en
> > >  
> > > --- 
> > > You received this message because you are subscribed to the Google Groups 
> > > "nodejs" group.
> > > To unsubscribe from this group and stop receiving emails from it, send an 
> > > email to [email protected] 
> > > (mailto:[email protected]).
> > > For more options, visit https://groups.google.com/groups/opt_out.
> > >  
> > >  
> > -- 
> > -- 
> > 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] 
> > (mailto:[email protected])
> > To unsubscribe from this group, send email to
> > [email protected] 
> > (mailto:nodejs%[email protected])
> > For more options, visit this group at
> > http://groups.google.com/group/nodejs?hl=en?hl=en
> >  
> > --- 
> > You received this message because you are subscribed to the Google Groups 
> > "nodejs" group.
> > To unsubscribe from this group and stop receiving emails from it, send an 
> > email to [email protected] 
> > (mailto:nodejs%[email protected]).
> > For more options, visit https://groups.google.com/groups/opt_out.
> >  
> >  
> 
> -- 
> -- 
> 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] 
> (mailto:[email protected])
> To unsubscribe from this group, send email to
> [email protected] 
> (mailto:[email protected])
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>  
> --- 
> You received this message because you are subscribed to the Google Groups 
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> (mailto:[email protected]).
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to