3 ms·
They're not even remotely the same thing. You could build NATS on ZeroMQ but not the other way around. ZeroMQ is more like a network/message-passing abstraction
by packetlost 2y ago
They're not even remotely the same thing. You could build NATS on ZeroMQ but not the other way around. ZeroMQ is more like a network/message-passing abstraction library while NATS is a service.
- veggieroll 2y agoI'd 90% agree with this, except that NATS does have an embedded mode.[0] That plus the clustering, gateway, and leaf-node features gets it very close to what ZeroMQ is doing, though at a much higher complexity level that's maybe unnecessary depending on what you're doing. Embedding is exclusive to Go programs, so that's very limited compared to ZeroMQ. [0]: https://www.youtube.com/watch?v=cdTrl8UfcBo https://www.youtube.com/watch?v=cdTrl8UfcBo
- packetlost 2y agoEven in embedded mode NATS is doing way more than ZeroMQ is, it's a full-blown message queue system while ZeroMQ at best gives you the tools to build a message queue.