| ▲ | actualwill 3 hours ago | |
Why NATS over Kafka? | ||
| ▲ | sudonem 3 hours ago | parent [-] | |
There’s obviously no single solution, it won’t make sense for all use cases, but NATS is far more lightweight, very simple to configure and deploy, has very few dependencies and offers incredibly low latency. NATS with Jetstream also closes the gap even further. Kafka still wins for very large data pipelines (hundreds of terabytes or petabytes), complex stream processing, or very long retention requirements for messaging. If you’re mostly streaming messaging between micro-services though (or if you’re currently doing a lot with MQTT) NATS is very likely the better move. (It’s cool shit) | ||