Inside the Decision: Why Groww Chose NATS Over WebSockets
summary
Groww replaces Gorilla WebSocket + Kafka with NATS for live prices, cutting backend complexity and giving subjects for per-user feeds so millions of traders get individualized streams without creating Kafka topics. NATS uses a fire‑and‑forget model and built‑in reconnection for near‑zero latency and no retention delays; resource usage handles 2.5x more users for the same machines. Also replaces polling for order status, and uses NATS request‑reply for HNS messaging.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 3:15Problems with Kafka and WebSockets
- 9:58Why NATS was chosen
- 12:51NATS features for live prices
- 20:09NATS benefits and results
- 22:56Other NATS use cases
- 24:46Conclusion and Q&A
related talks
37mIntro: NATS
37mConnect All the Things! Using NATS To Simplify Communication Everywhere
40mThe Zen of High Performance Messaging with NATS
29mA New Generation of NATS
21mNATS: A high-performance messaging system for communication between services
25mBeyond Kafka: Leveraging Event-Driven Architectures with Go and NATS JetStream
35mThe NATS Stack - Libraries Extensions and the Execution Engine
34mState of NATS: Core, Persistence, & Materialized Views
