NSQ is a real-time distributed-messaging platform that encourages decentralized topologies as described in the Brokerless messaging section.
NSQ deep-dive
Concepts
An NSQ system consists of the following components:
- The virtual topic construct: Topics are the destination for messages being produced in NSQ. Each topic has one or more Channels, which are the queues for each consumer, thereby enabling Pub/Sub behavior. Topics and Channels are implicitly created on first use.
- nsqd: This is the main component; it receives, queues, and delivers messages to clients. It can run as a daemon or can be embedded inside a Go application. This can run standalone, but is normally configured in a cluster with nsqlookupd. These instances...