Longhorn: The Reference Architecture for Lightweight Cloud-Native Storage
TL;DR Storage in Kubernetes is often a nightmare of complexity (Ceph) or vendor lock-in (AWS EBS). …
TL;DR
In the microservices world, services need a way to communicate. Tools like RabbitMQ (based on Erlang) or Kafka (JVM) often come with significant operational overhead. NATS takes a different approach: it’s a tiny, extremely fast Go binary that acts as the “central nervous system.” With the introduction of JetStream, NATS not only handles “fire-and-forget” but also persistent streaming and key-value stores. It’s the all-in-one solution for modern communication—from edge devices to the cloud cluster.
Most message brokers feel like enterprise software from the 2000s. NATS feels like Unix tools.
NATS was previously known for “fire-and-forget” (if the recipient isn’t there, the message is gone). This changed with JetStream.
JetStream is the answer to Kafka, but without the pain.
This is the “killer feature” of NATS for IoT and hybrid cloud.
With Leaf Nodes, you can run a local NATS server (e.g., in a factory or on a satellite) that operates autonomously when the internet is down. Once the connection is restored, it transparently synchronizes with the main cluster (at ayedo).
Here, it is decided whether you pay for every API call or own a true real-time infrastructure.
Scenario A: AWS SQS / SNS (Serverless, but sluggish)
SQS is solid but often a bottleneck architecturally.
Scenario B: NATS with Managed Kubernetes by ayedo
In the ayedo app catalog, NATS is the backbone for microservices.
order.created.germany). Clients can subscribe to wildcards (order.created.>). This radically decouples sender and receiver.| Aspect | AWS SQS / SNS | ayedo (Managed NATS) |
|---|---|---|
| Delivery | Polling (latency) | Push (real-time) |
| Persistence | Queue-based | Memory or Disk (JetStream) |
| Patterns | Queue / PubSub | PubSub, Queue, Req/Reply, KV |
| Topology | Region-bound | Global (Cluster & Leaf Nodes) |
| Costs | Pay-per-Request | Infrastructure (Flat) |
| Protocol | HTTP (Proprietary) | NATS (Open Standard) |
NATS vs. Kafka: Which should I choose?
Rule of thumb: If you need a massive “data lake” for analytics where data resides for years (terabytes), Kafka is still strong. For everything else—microservice communication, work queues, IoT, edge sync, and fast event streams—NATS is drastically simpler, faster, and more resource-efficient. NATS is often the “Kafka killer” for application developers.
Does NATS replace my HTTP (REST/gRPC)?
It can. The “Request-Reply” pattern in NATS is extremely powerful. Instead of Service A calling Service B directly (IP:Port), it sends a request to a subject. NATS routes it and sends the response back. Advantage: Service discovery is built-in. If Service B moves, Service A doesn’t need to change anything. It also offers automatic load balancing between instances of Service B.
How secure is NATS?
NATS is “Secure by Default.” It supports TLS, authentication via token, user/password, or NKEYS (public-key crypto). In the ayedo stack, we often configure NATS with a strict permission concept, so services can only publish to their own subjects.
What is the difference from RabbitMQ?
RabbitMQ is a “smart broker, dumb consumer” (a lot of logic in the server). NATS is more “dumb broker, smart consumer.” RabbitMQ scales poorly (cluster issues). NATS scales trivially. If you don’t need exotic AMQP routing rules, NATS is almost always the more modern choice today.
Communication is the bottleneck of distributed systems. AWS SQS and RabbitMQ are technologies of yesterday that add latency and complexity. NATS is messaging for the cloud-native era: lightweight, fast, and universally applicable. It not only connects microservices in the cluster but your entire infrastructure to the edge. With the ayedo managed stack, you get a highly available NATS JetStream cluster that frees your architecture from unnecessary ballast and unlocks true real-time capabilities.
TL;DR Storage in Kubernetes is often a nightmare of complexity (Ceph) or vendor lock-in (AWS EBS). …
The complexity of modern microservice architectures has reached a point in 2026 where traditional …
In 2026, regulatory requirements for the European economy have reached a new level of quality. With …