Re:NSQ – A realtime distributed messaging platform
by ryanjshaw on Tuesday January 27, 2015 @08:02AM
(#8952795)
The Features page says it is "horizontally scalable (no brokers, seamlessly add more nodes to the cluster)", but the Design page says you need to run a 'nsdq' daemon - which is a message broker - i.e. you cannot embed the daemon into your application?
[ Parent
| on HN ]
Re:NSQ – A realtime distributed messaging platform
by joshrotenberg on Tuesday January 27, 2015 @11:20AM
(#8953877)
You can embed nsqd (in Go): https://gist.github.com/joshrotenberg/ad49d39dbee8b48789d9
That said, for a larger deployment you'd still probably want to run the lookupd as well, at which point, at least for a typical architecture, running nsqd standalone is probably fine. Embedding is darn handy for testing, though.
Re:NSQ – A realtime distributed messaging platform
by matticakes on Tuesday January 27, 2015 @10:14AM
(#8953363)
You can embed the daemon into your application.
That sentence is missing an important word. No centralized brokers, meaning the typical/recommended deployment topology is an nsqd node on all hosts producing messages.