#architecture
6 articles
API Gateways & the Backend-for-Frontend Pattern
The single front door to a microservice backend. What an API gateway does, why you add one, the BFF pattern, and how not to turn it into a monolith.
Event Sourcing & CQRS
Store every change as an immutable event and rebuild state by replay. Event sourcing, CQRS read models, snapshots, and the trade-offs nobody warns you about.
Forward vs Reverse Proxy (and API Gateway)
What "proxy" actually means in different contexts. Forward proxies, reverse proxies, load balancers, API gateways — what each does and where the lines blur.
How to Choose a Database
A decision framework for picking the right database. Workload shape, access patterns, consistency needs, and the operational costs nobody warns you about.
Microservices vs Monolith — Honestly
When microservices help, when they hurt, and the engineering and organizational realities behind the choice.
Scale From Zero to Millions of Users
The classic walkthrough — start with one server, add a load balancer, add caching, replicate the database, shard, geo-distribute. Every transition explained.