System Design · Module 20
End-to-end design problems
- Lessons
- 10
- Free
- 0
- Reading
- ~5 h
Your progress
0 / 10 lessons done
Sign in to trackLessons
- Case: how Instagram scaled with a tiny teamA growing service can run out of database capacity before its team can safely operate a more complex replacement. This case shows how to reason about that constraint without treating an early architecture as a permanent blueprint.
- Design: a photo-sharing app like InstagramPhoto features combine large files, small database records and expensive distribution. The same boundaries appear in product galleries, social feeds and customer-uploaded content.
- Design: a payment processing systemPayment systems connect your database to financial systems you cannot commit atomically. You need explicit identities, durable recovery and accounting records to keep uncertainty from becoming duplicate charges or missing money.
- Design: collaborative editing like Google DocsShared editors combine immediate local feedback with concurrent writes and unreliable connections. The same problems appear in shared forms, planning tools and collaborative product dashboards.
- Design: a recommendation engineRecommendation quality depends on more than a model. Engineers must connect customer behavior, product availability, request deadlines and trustworthy evaluation.
- Design: in-app search for a large productSearch joins product data, relevance and distributed systems in one user request. You need to control what becomes searchable, how quickly changes appear and what happens when the index disagrees with the product database.
- Design: a web crawlerImporters, search systems and website monitors fetch data from services they do not control. Their hardest problems include safe destinations, bounded discovery and recovery after uncertain network outcomes.
- Design: an e-commerce checkoutCheckout joins several independently stored facts into one customer promise. You need a design that can explain and recover a purchase even when inventory, payments or the customer’s network fails.
- Design: a distributed key-value storeA distributed store must preserve its promises when clients retry, machines fail and ownership changes. These same problems appear inside databases, caches and stateful services.
- Design: a real-time game leaderboardLeaderboards combine frequent writes, expensive ranking queries and visible fairness rules. The same design questions appear in sales rankings, competitions and activity tables.
Practise with
No tools or paper guides for this module yet.
Terms this module teaches 10
Open glossaryCollaborative filtering
Recommending items using patterns in how people interact with items.
Crawl frontier
The known URLs a crawler tracks for first visits or later revisits, together with their scheduling state.
Operational transformation
An approach that adjusts an editing operation against concurrent operations so it can be applied to a changed document state.
Ordinal ranking
Assigning every entry a distinct position, using a deterministic tie-breaker when scores are equal.
Payment capture
A request to collect an authorized payment, rather than only reserve funds. Capture confirmation is separate from bank settlement.
Payment settlement
The financial transfer and accounting process that resolves amounts owed after payments, potentially including fees and adjustments.
Point-in-time search
A search session that preserves an index view so later pages use the same discovery snapshot.
Price quote
A server-created snapshot of purchase items, charges and validity rules that records the amount a customer is asked to approve.
Publication manifest
A record listing the completed media files selected for a published item, including their keys and dimensions.
Sorted set
A collection of unique members kept in an order determined by their associated numeric scores.