Monoliths always pay their debts
summary
Starts with a working monolith for a toy “Moo” service and actually splits it into three running microservices without rewriting routes, using Fastify plugins for encapsulation, Fastify HTTP proxy as an API gateway, Elasticsearch for storage, bcrypt and hyperid for IDs, and JSON Schema for validation. Claims Fastify hits ~40k req/s versus Node core 43k and demonstrates a migration path under a hypothetical “1 billion users” load. Demos show duplicated entry points, removed cross‑dependencies, and live requests succeeding.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 0:46The next million dollar startup
- 4:29Monolith demo
- 14:09Plugins
- 20:42Current situation
- 21:09Updating logic
- 21:35HTTP Proxy
- 24:56Outro
related talks
36m1, 2, 3... Fastify!
30mMonolith-ifying perfectly good microservices
43m"Monoliths are Simpler" and other lies we tell ourselves
31mTo Kill a Monolith: Slaying the Demons of a Monolith with Node.js Microservices on CloudFoundry
28mA "fast" Introduction to Fastify
07mMonolith to over 60 Services
24mMicrofrontends
40mFacing the Monolith Overcoming Monolithic Applications with SOA
