Designing a Google Drive-like File Storage and Sharing System
Case study on file storage system design: requirements, data model, chunked upload API, sharing, sync, conflict handling, and burst traffic.
Articles about Real-world case studies — Architecture & Design.
Case study on file storage system design: requirements, data model, chunked upload API, sharing, sync, conflict handling, and burst traffic.
Case study on designing a real-time order tracking and shipper location system using Spring Boot, Kafka, Redis GEO, and SSE. Article analyzes concurrency, consistency, and load spikes.
Case study on discount code system design: preventing over-issuance during flash sales using atomic UPDATE, Redis Lua, Kafka, and time-limited reservations.
Case study of auction system design: data model, API, concurrent bid handling with conditional updates, Redis Lua, anti-sniping, and safe session closure.
Case study for 1-1 and group chat design. Using seq-based data model, idempotent send API, watermark-based read state, outbox + Kafka, and handling traffic spikes.
Case study designing a subscription billing system covering data model, APIs, renewal flow, preventing double charging, outbox pattern with Kafka and handling traffic spikes.
Case study designing a concert ticket system handling traffic spikes. The article covers building a virtual queue on Redis, atomic seat holds with SQL, and idempotent payment handling.
News feed design case study: requirements, scale, data model, API, comparing fan-out on write vs read, hybrid model, handling celebrities, consistency, and traffic spikes.
Case study on designing a medical appointment booking system with slot models, APIs, preventing double bookings using conditional updates and unique indexes, and handling burst load at slot release time.
Case study on building a notification system for push, email, and SMS: data model, idempotent APIs, outbox pattern, priority queues, exponential backoff retry, and handling traffic spikes.
Case study on designing a distributed rate limiter for an API gateway, covering requirements, algorithm selection, data models, Lua scripts on Redis, and handling race conditions, traffic spikes, and outages.
Case-study designing a fraud scoring system under 50ms. This article covers requirements, data model, API, Redis velocity check, idempotency, outbox with Kafka, and handling burst load.
Case study on designing a ride-sharing system: finding nearby drivers with Redis GEO, handling race conditions during matching, maintaining data consistency, and handling peak load.
A case study on designing real-time leaderboards for millions of players using Redis sorted sets, covering data models, APIs, handling ties, idempotency, and traffic spikes.
Case study on electronic wallet design: double-entry ledger model, idempotent API, deadlock-free locking, outbox with Kafka, and handling traffic spikes.
Flash sale system design case study: atomic reservation with Redis Lua, asynchronous order writing via Kafka, database as safety net and stock recovery on expiry.
A case study on designing a food delivery system: requirements, data models, APIs, order state machine, shipper dispatch, transactional outbox with Kafka, and real-time updates.
Case study on payment system design: preventing double-charging with idempotency keys, reconciliation with payment gateways, safe refunds under concurrent disputes, and handling traffic spikes.
Case study on shopping cart and order workflow design: requirements, data models, APIs, overselling prevention, idempotency, outbox pattern and flash sale handling.
Case study designing a car rental system with PostgreSQL to prevent double-bookings, idempotent deposits, cancellations with refunds, and peak-season load handling.