Activity Stream Low-Level Design: Event Schema, Aggregation, and Real-Time Push
5 min read Activity Stream System Design Overview An activity stream notifies users about actions taken by others in their network: likes, follows, […] Read article
Learn to design scalable, reliable systems that handle millions of users. System design interviews test your ability to architect real-world applications, considering tradeoffs, scalability, and best practices.
Core Topics:
Scalability: Load balancing, horizontal vs vertical scaling
Storage: Databases (SQL vs NoSQL), caching (Redis, Memcached)
Reliability: Replication, failover, disaster recovery
Performance: CDNs, caching strategies, database indexing
Common Design Questions:
Design URL shortener (bit.ly)
Design rate limiter
Design Twitter/Instagram feed
Design messaging system (WhatsApp)
Design file storage (Dropbox)
Interview Level: Senior engineers (L5+) at FAANG companies. Requires 3-5+ years experience to tackle effectively.
Preparation: Study system design patterns, understand distributed systems fundamentals, and practice mock interviews.
5 min read Activity Stream System Design Overview An activity stream notifies users about actions taken by others in their network: likes, follows, […] Read article
6 min read Requirements and Constraints A risk scoring service aggregates signals from multiple data sources, runs them through an ensemble of models, Read article
6 min read Requirements and Constraints An IoT data pipeline ingests telemetry from potentially millions of connected devices, processes and enriches the stream, Read article
6 min read Requirements and Constraints A device registry is the source of truth for IoT device identity, credentials, configuration, and metadata. It Read article
6 min read Requirements and Constraints A telemetry collector receives metrics from services and infrastructure components, aggregates them locally to reduce cardinality and Read article
5 min read Requirements and Constraints A fulfillment service sits between order management and warehouse execution. It receives orders, decides which warehouse(s) should Read article
5 min read Requirements and Constraints A shipping tracker aggregates parcel status from multiple carriers (FedEx, UPS, USPS, DHL, regional last-mile), normalizes heterogeneous Read article
7 min read Requirements and Constraints A full-featured experiment platform extends simple A/B testing to support adaptive allocation (multi-armed bandits), holdout groups, guardrail Read article
7 min read Requirements and Constraints A cohort analysis system groups users by a shared characteristic or event at a point in time Read article
6 min read Requirements and Constraints A compliance reporting system automates the collection, aggregation, and delivery of evidence required by regulatory frameworks such Read article
7 min read Problem Statement and Requirements An event streaming platform extends a basic message broker with features required for long-lived, schema-evolving data Read article
7 min read Problem Statement and Requirements A pub/sub service enables one-to-many message delivery: publishers send messages to topics without knowing who will Read article
5 min read Requirements and Constraints A distributed cron service triggers jobs on time-based schedules (standard cron expressions) across a fleet of nodes Read article
5 min read Requirements and Constraints A consensus service provides a strongly consistent, fault-tolerant replicated state machine that multiple clients can use to Read article
5 min read Requirements and Constraints A leader election service ensures that exactly one node in a cluster acts as leader at any Read article