Horizontal Scaling Blueprint (Multi-Tenant Activity Feed)
Design a horizontally scalable architecture by making compute stateless, partitioning stateful stores, and decoupling workloads with queues/streams. Focuses on hot partitions, fanout, caching, and consistency trade-offs while targeting low latency and 99.99% availability.
Event Sourcing
Storing application state as a sequence of immutable events for auditability and rebuilding state