Realtime distributed messaging platform with no central broker
open sourceMITself-hostablefree
NSQ is a realtime distributed messaging platform written in Go. Each nsqd node takes messages for topics and delivers them to channels, so it supports both pub-sub and load-balanced delivery, and nsqlookupd provides discovery so new nodes join without a central broker or a single point of failure. It scales horizontally, guarantees message delivery, and comes with nsqadmin, a web UI for watching and administering the cluster. Its binaries have no runtime dependencies, with pre-compiled releases for Linux, macOS, FreeBSD and Windows and an official Docker image. Official client libraries are Go and Python, with community libraries for most languages and a published TCP protocol spec. It was designed by Matt Reiferson and Jehiah Czebotar with Bitly's support.
Problems it solves
- send messages between my services at high volume without running a central broker
- fan out events to several consumers and load-balance work between workers
- run a message queue that has no single point of failure and is simple to operate
Features
- pub-sub and load-balanced delivery through topics and channels
- no central broker; discovery with nsqlookupd
- horizontal scaling
- delivery guarantees
- nsqadmin web UI
- single binaries with no runtime dependencies
- official Go and Python clients
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Has official SDKs | plan not known |
Alternatives
The same job
These do what NSQ does.
- Amazon SQS Fully managed message queuing for microservices, distributed systems, and serverless applications
- RabbitMQ One broker to queue them all
- Apache Kafka An open-source distributed event streaming platform
- Google Cloud Pub/Sub Google Cloud's managed messaging and event ingestion service
- Amazon SNS Fully managed pub/sub messaging, SMS, email and mobile push notifications
