Solving service discovery: Node.js microservices without a registry
summary
Argues service discovery can be registry-free by using peer-to-peer membership and message patterning: implements the SWIM gossip protocol so each Node.js service keeps a local table of who cares about which messages, achieving global convergence in a few hundred milliseconds (Uber scales it to ~2,500 services). Uses pattern matching and transport independence as core principles, ships a Node library (sjs.org) and a 14‑service Twitter clone that claims million‑user scaling, removes load balancers and works for zero‑downtime composition.
AI-written summary · about
chapters (11)
- 0:00Start
- 0:10First Micro Service System
- 3:08Gossamer Albatross
- 7:34Component Model
- 8:15What Are Micro Services
- 10:06Automated Deployment
- 14:27Pattern Matching and Transport Independence
- 15:03Transport Independence
- 16:51Peer-to-Peer Approach
- 22:35Composability
- 25:39The Tao of Microservices
related talks
59mMicroservice Swarms: Decentralized Discovery and Scaling
53mZero-Configuration Microservices with Node.js and Docker
28mSWIMming in the microservices ocean
27mProgressive Microservices with NodeJS
17mNodejs microservices. From Zero to Hero.
29mDesigning Microservice Architectures
52mMicroservices the Lean Way NodeJS
44mMicroservices - the lean way (NodeJS)
