Posts tagged “architecture”
-
How do you scale an API on AWS?
The AWS building blocks for each scaling technique (CloudFront and ElastiCache for caching, ALB and Auto Scaling for replicas, RDS Proxy for connections, Aurora replicas for reads, SQS for spikes, WAF for abusive clients), in the order you'd reach for them.
-
Which design patterns still earn their place?
Strategy, adapter, state machine, outbox, idempotency key and retry with backoff solve problems every backend has. Abstract factories, visitors and deep decorator stacks mostly solve problems we no longer have. The patterns I reach for, with real examples, and the signs of an over-patterned…
-
Clean, hexagonal or layered architecture: does the shape matter?
They share one idea: business rules shouldn't depend on frameworks, databases or vendors. Layered is the simplest, hexagonal makes swapping and testing easy, clean architecture adds more rings, and vertical slices organise by feature instead. How to choose for the size of your system.
-
When is domain-driven design worth it?
DDD pays off when the business rules are the hard part and several teams or departments use the same words to mean different things. For CRUD apps it's mostly ceremony. Which parts to take (language, bounded contexts) even on small projects, and which to skip.
-
Monolith vs microservices vs cell-based architecture: which one, when?
Start with a modular monolith, split out only the parts that scale or fail differently, and reach for cells when one customer's bad day must not become everyone's. What each architecture fixes, what it costs, and the signals that say it's time to change.