Definition: A trade-off means gaining something while accepting a disadvantage somewhere else.
In architecture, improving one property often makes another property worse—for example, scalability vs simplicity.

Examples:

  1. Microservices → better independent scaling, but more operational complexity.
  2. Caching → faster reads, but potentially stale data.
  3. Strong consistency → more reliable immediate data, but potentially lower availability/performance.

Back-End My-Journey-In-Codeless