3 ms·
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' d
by ryanjshaw 12y ago
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?
- matticakes 12y agoYou 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.
- joshrotenberg 12y agoYou can embed nsqd (in Go): https://gist.github.com/joshrotenberg/ad49d39dbee8b48789d9 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.