NATS Deep Dive
summary
NATS is a compact, high‑performance messaging system with a ten‑command text protocol, default 1 MB default payload and a Go canonical client; it gives pub/sub, request‑reply and queue groups for load balancing, automatic reconnection (every ~2s) with an 80 MB client buffer and slow‑consumer disconnect after about two seconds. NATS supports TLS, a full‑mesh cluster (ports 4222/6222 plus monitoring), NATS Streaming (Stan) using protobuf with Raft or warm failover, official Docker images, Prometheus exporter and an operator; tests show ~21M msg/s single pub‑sub and ~80M aggregate, clusters up to 50–100 node clusters tested.
AI-written summary · about
chapters (12)
- 0:00Start
- 2:36The NATS Protocol
- 5:48The NATS Clients
- 16:33Used Ports
- 17:34NATS Clustering
- 18:25Setting up a NATS cluster
- 19:03Cluster Auto Discovery
- 20:43Secure NATS setup
- 21:28Resiliency: Slow Consumers
- 25:03NATS Streaming Fault Tolerance
- 25:39NATS Streaming Clustering
- 27:04Official Docker Images
related talks
17mNATS: The Challenger to Kafka's Messaging Throne
33mNATS: The Cloud-Native Challenger to Kafka's Messaging Throne
01h 34mDeploy Secure and Scalable Service...
44mUsing NATS
51mBuilding high-performance event-driven systems using NATS
21mKeynote: NATS: Past, Present and the Future
21mNATS v2.2: The JetStream Release
28mKeynote: The State of NATS as a Reactive Substrate
