edgeacademyCUSTOMER ENGINEERING
PRINTABLE FIELD NOTES

Architecture tradeoffs

Use this before an interview or during a focused review.

All reference sheets

Architecture tradeoffs

Name the invariant before selecting a service. A design is a set of explicit choices under constraints.

Architecture tradeoffs reference
Consistency versus distributed readsChoose what may be stale and for how long. Authorization and monetary correctness usually need stricter invariants than public configuration.
Sync versus asyncSynchronous work offers immediate results but couples latency and availability. Queues absorb bursts but require status tracking, idempotency and recovery.
Cache versus correctnessCaching can reduce latency and origin load; keys, TTL, invalidation and private-data boundaries determine safety.
Monolith versus microservicesA monolith can simplify transactions and operations. Services can isolate ownership and scale but add network, deployment and consistency complexity.
Portability versus managed valueManaged primitives reduce operations while adding platform-specific contracts. Record migration requirements before overbuilding an abstraction.
Reliability versus costRedundancy, capacity and recovery have recurring costs. Tie investment to measured failure impact and agreed objectives.
Centralized data versus edge computeRunning compute near users does not remove distant database round trips. Place data access and ownership deliberately.
Sources and context