A New Generation of NATS
Talkat KubeCon + CloudNativeCon North America 2021 · on Thursday, 2021-10-14· at 14:30· Concourse Hall 153 ABC + Online·
summary
NATS v2 adds JetStream as a new persistence layer replacing STAN, claiming an optimized raft quorum (1/3/5 clusters) with mirroring, file or memory storage, retention modes (limits, interest, work queue), push/pull consumers, and exactly-once delivery via idempotent IDs plus double acknowledgements. A new nats CLI does benchmarking and stream admin. The demo wires two leaf nodes (Raspberry Pi–class), publishes ~1 msg/sec each, shows stream counts (≈109,217 then ≈722 total) and automatically syncs persisted messages after Wi‑Fi outages, proving the adaptive edge flow.
AI-written summary · about
chapters (15)
- 0:00Intro
- 0:18What is NATS?
- 0:58Complete messaging solution
- 2:52Messaging functionality landscape
- 3:35NATS 2 Timeline
- 3:50Security: Decentralized administration
- 4:49Security: Multi-tenancy
- 6:12JetStream: Next generation Streaming
- 13:07Subject Mapping
- 14:56NATS CLI Tool
- 17:25Deployment Architectures: Adaptive Edge
- 17:57NATS Architectures: Single server
- 18:10NATS Architectures: Cluster
- 18:39NATS Architectures: Supercluster
- 20:06NATS Architectures: Leaf Nodes
related talks
37mIntro: NATS
37mConnect All the Things! Using NATS To Simplify Communication Everywhere
34mState of NATS: Core, Persistence, & Materialized Views
40mThe Zen of High Performance Messaging with NATS
35mThe NATS Stack - Libraries Extensions and the Execution Engine
21mNATS: A high-performance messaging system for communication between services
25mBeyond Kafka: Leveraging Event-Driven Architectures with Go and NATS JetStream
25mInside the Decision: Why Groww Chose NATS Over WebSockets
