← back home
how I see distributed systems
what a microservices architecture looks like when I draw it from memory. no moving parts here — just the map, the neighborhoods, and a few notes to self. click any box if you want the long version.
click any box on the sketch…I wrote a note about each one, the way I’d explain it over coffee.
the whole idea, in five lines:
- ①a request lands at the front door — the gateway checks who you are and points you to the right room.
- ②reads try Redis first. the database is the backup plan, not the default.
- ③writes commit to PostgreSQL — the one box that is never allowed to lie.
- ④when something important happens, services publish a fact to Kafka instead of calling each other.
- ⑤slow work (emails, pushes, whatever) happens later in workers — nobody waits for it.