Interactive labs
Every hands-on lab in the course, grouped by what you practise. Each card names the lessons where the lab appears and, when there is one, a page where you can open it on its own.
Every number in a lab comes from a model that lists what it leaves out, under the lab. The values are illustrative: they show how a system behaves, not what a real product would do.
106 labs in 16 groups.
Load, latency and queues
Push traffic at a system and watch queues form, latency climb and the first component give way.
Traffic lab
Simulator
Raise the traffic on a request path and watch which component gives way first, with the chain of cause and effect behind it.
- Used in
- Scalability: coping with moreModule 02, Core Properties
- Latency and throughputModule 03, Performance
- BottlenecksModule 03, Performance
- CPU, memory and I/OModule 03, Performance
- When the cache fails: fail-open, fail-closed and the cascadeModule 08, Caching
Queueing lab
Simulator
Push the arrival rate towards what a few servers can serve and watch the time a request spends in the system rise slowly, then sharply.
- Used in
- Percentiles and tail latencyModule 03, Performance
- Little's LawModule 03, Performance
- Utilisation and queueingModule 03, Performance
- Connection poolsModule 09, Databases
The network path
Count what a request spends on the wire before the server has done any work: lookups, handshakes, connections kept open and caches at the edge.
DNS resolution
Message flow
Follow a name lookup from your device to the root, .com and authoritative servers, and see what each level of cache saves.
- Used in
- DNS: finding the serverModule 04, Networking & Edge
Connection setup
Message flow
Step through the messages a new connection needs with TCP and TLS 1.2, TLS 1.3 or QUIC, and compare the round trips each one costs.
- Used in
- TLS handshakesModule 04, Networking & Edge
Connection reuse
Message flow
Compare two requests that each open a new connection with the same two requests sent over one connection kept open.
- Used in
- Connection pooling and keep-aliveModule 04, Networking & Edge
CDN hit and miss
Message flow
Compare a request answered by a CDN edge, one the edge must fetch from the origin and one with no CDN, then blend them by hit rate.
- Used in
- CDNs, edge caching and anycastModule 04, Networking & Edge
Polling, SSE and WebSocket
Message flow
Send two updates to a client with short polling, long polling, server-sent events and WebSocket, and compare the messages and the time each one needs.
- Used in
- Polling and long polling: asking until there is newsModule 21, APIs & Communication
- Server-sent events and WebSockets: a channel that stays openModule 21, APIs & Communication
TLS, authentication and authorization
Message flow
Follow a first request from the TLS handshake through sign-in to the permission check, with a session cookie, a JWT checked locally and an opaque token that is introspected.
- Used in
- Authentication and authorization: who you are, and what you may doModule 24, Security
- Sessions and tokens: what the check costs, and what it cannot undoModule 24, Security
- Zero trust: no request is trusted for where it comes fromModule 24, Security
Back-of-envelope estimates
Turn a few assumptions into numbers: requests per second, bytes stored, a link speed, a monthly bill, memory for a cache, downtime over a year.
Traffic calculator
Calculator
Turn users and how often each one acts into requests per day, requests per second on average and requests per second at the peak.
- Used in
- Requirements: what it does and how wellModule 01, System Thinking
- Requests per second and peak trafficModule 05, Capacity Estimation
- Estimating by powers of tenModule 05, Capacity Estimation
- Estimating out loudModule 29, Interview Arena
Storage calculator
Calculator
Work out how much is written per day, and how much is stored once the copies and the retention period are counted.
- Used in
- Storage and retentionModule 05, Capacity Estimation
- Estimating out loudModule 29, Interview Arena
Bandwidth calculator
Calculator
Turn peak requests per second and payload size into a link speed, and average traffic into the data moved in a month.
- Used in
- Bandwidth: link speed and monthly transferModule 05, Capacity Estimation
Cost calculator
Calculator
Add up instances, storage and outbound transfer into a monthly bill, then divide it by the requests to get a cost per million.
- Used in
- Cost estimation: from users to a billModule 05, Capacity Estimation
Availability calculator
Calculator
Combine the availability of components in a chain and with copies, and see how much downtime that means in a year.
- Used in
- Dependencies: what a request cannot do withoutModule 01, System Thinking
- Availability and the ninesModule 02, Core Properties
- Reliability, resilience and fault toleranceModule 02, Core Properties
- Microservices: what you buy and what you payModule 26, Architecture Patterns
Cache memory calculator
Calculator
Work out how much memory it takes to cache a number of keys, counting every copy you keep.
- Used in
- Cache-aside and the other read/write strategiesModule 08, Caching
Scaling out and spreading the load
Add servers and share the work between them: how a policy follows the traffic, and how a balancer decides where each request goes.
Autoscaling lab
Simulator
Run an autoscaling policy against a traffic pattern and see when the group of instances falls behind because new ones take time to start.
- Used in
- AutoscalingModule 06, Scalability
Load-balancing lab
Simulator
Send the same requests through each balancing algorithm, slow down or lose a server, and compare what each one does.
- Used in
- Balancing algorithmsModule 07, Load Balancing
- Health checksModule 07, Load Balancing
- Sticky sessionsModule 07, Load Balancing
- Consistent hashingModule 07, Load Balancing
- Connection drainingModule 07, Load Balancing
Caching
Keep copies close to the work, and see what they save, when they go stale and what happens when they disappear.
Cache-aside lab
Simulator
Watch the hit ratio climb as a cache fills, when every request asks the cache first and a miss reads the database.
- Used in
- Cache-aside and the other read/write strategiesModule 08, Caching
TTL and invalidation lab
Simulator
Change how long entries live and how often data is written, and see how much of what the cache serves is out of date.
- Used in
- Consistency: one word, three guaranteesModule 02, Core Properties
- TTL and invalidation: keeping copies honestModule 08, Caching
Cache stampede lab
Simulator
Watch a popular key expire and every waiting request go to the database at once, then turn on the mitigations and compare.
- Used in
- Cache stampede and how to survive itModule 08, Caching
Hot key lab
Simulator
See one very popular key saturate the cache shard that owns it while the others stay quiet, then spread it over several shards.
- Used in
- Hot keys: when one entry is too popularModule 08, Caching
Fail-open and fail-closed lab
Simulator
Kill the cache and compare an application that fails open and sends every read to the database with one that fails closed and returns errors.
- Used in
- When the cache fails: fail-open, fail-closed and the cascadeModule 08, Caching
Slow decay lab
Simulator
Let the share of writes climb on its own and watch the hit ratio slide and the database fill up while the errors stay at zero, until they do not.
- Used in
- When the cache fails: fail-open, fail-closed and the cascadeModule 08, Caching
Transactions and isolation
Run concurrent transactions at each isolation level, with locks and with row versions, and see which anomaly each level lets through.
Dirty read
Simulator
Read a value that another transaction has written and then rolled back, and see which levels let it happen.
- Used in
- Five anomaliesModule 10, Transactions & Isolation
Non-repeatable read
Simulator
Read the same row twice while another transaction commits a change in between, and see which levels give two different answers.
- Used in
- Five anomaliesModule 10, Transactions & Isolation
- Locks and row versionsModule 10, Transactions & Isolation
Phantom read
Simulator
Count the rows that match a search twice while another transaction inserts one in between, and see which levels let a new row appear.
- Used in
- Five anomaliesModule 10, Transactions & Isolation
- Isolation levelsModule 10, Transactions & Isolation
Lost update
Simulator
Let two transactions read a balance, add a deposit each and write it back, and see which levels lose one of the deposits.
- Used in
- Five anomaliesModule 10, Transactions & Isolation
- Isolation levelsModule 10, Transactions & Isolation
- Locks and row versionsModule 10, Transactions & Isolation
Write skew
Simulator
Let two on-call doctors each go off call after checking that the other is still on, and see which levels let both leave.
- Used in
- Five anomaliesModule 10, Transactions & Isolation
- Isolation levelsModule 10, Transactions & Isolation
Deadlock
Simulator
Make two transactions wait for each other’s rows, and watch the database find the cycle and abort one of them.
- Used in
- DeadlocksModule 10, Transactions & Isolation
Same locks, same order
Simulator
Take the rows of the same two transfers in the same order, and see the second transaction wait instead of being aborted by a deadlock.
- Used in
- DeadlocksModule 10, Transactions & Isolation
Deadlock between three
Simulator
Let three transactions wait for each other in a ring, and see the database break the cycle by aborting one of them.
- Used in
- DeadlocksModule 10, Transactions & Isolation
Replication and failover
Copy writes from a primary to replicas and see what lag, a synchronous or asynchronous acknowledgement, a crash and a network partition each do to the data clients see.
Writes and replication lag
Simulator
Send writes to a primary that ships them to two replicas, and see how far each replica trails and how long a write waits to be acknowledged.
- Used in
- Single-leader replication: one primary, several replicasModule 11, Replication
- Synchronous and asynchronous replicationModule 11, Replication
Stale reads and read-your-writes
Simulator
Read from replicas that lag behind the primary, and see which routing keeps a client from missing its own write or from seeing data go back in time.
- Used in
- Replication lag and stale readsModule 11, Replication
Failover and lost writes
Simulator
Crash the primary, promote a replica and count the acknowledged writes that never reached it, then switch to synchronous replication and compare.
- Used in
- Failover and lost writesModule 11, Replication
Split brain
Simulator
Cut the primary off, promote a replica while the old primary is still alive, and watch two nodes accept writes that cannot both survive.
- Used in
- Split brain and fencingModule 11, Replication
Multi-region lab
Simulator
Put the service in one to three regions, choose active-passive or active-active, fail a region, and see the latency, the spare capacity, the failover time and the data at risk.
- Used in
- Why go multi-regionModule 20, Multi-Region
- Active-passive and active-activeModule 20, Multi-Region
- Replication across regions and write conflictsModule 20, Multi-Region
- Global traffic routing: GeoDNS and anycastModule 20, Multi-Region
- Regional failure and evacuationModule 20, Multi-Region
Data across machines
Spread data over several shards and see what each way of placing it costs when the number of shards changes or the traffic is uneven.
Four ways to partition keys
Simulator
Compare range, hash mod N, consistent hashing and a directory on the same ten thousand keys, and count the keys that move when a shard is added or removed.
- Used in
- Partition strategies: range, hash and directoryModule 12, Partitioning & Sharding
Hash mod N and a new shard
Simulator
Add a shard to a hash mod N layout and see almost every key move to another shard.
- Used in
- Consistent hashing and virtual nodesModule 12, Partitioning & Sharding
Consistent hashing and a new shard
Simulator
Add a shard to a consistent-hashing ring and see that only the keys the new shard takes over are moved.
- Used in
- Consistent hashing and virtual nodesModule 12, Partitioning & Sharding
Virtual nodes and an even split
Simulator
Raise the number of virtual nodes on a ring and watch the share of keys on each shard even out.
- Used in
- Consistent hashing and virtual nodesModule 12, Partitioning & Sharding
Hot keys and hot shards
Simulator
Send much of the traffic to a few neighbouring keys and see which strategies leave one shard doing most of the work.
- Used in
- Choosing a shard keyModule 12, Partitioning & Sharding
Rebalancing
Simulator
Rebalance a directory and a range layout under hot keys and compare how many keys each one has to move.
- Used in
- Hot shards and rebalancingModule 12, Partitioning & Sharding
Consistency, time and consensus
Cut the network between nodes and see what each choice does to consistency and availability, then see how quorums, clocks and leader elections behave when nodes cannot agree.
A network cut between two nodes
Simulator
Cut the network between two nodes and choose whether each side refuses requests, serves stale reads or answers everything, then see what that costs in consistency, availability and lost writes.
- Used in
- CAP stated precisely, and PACELCModule 13, Consistency & Time
Read and write quorums
Simulator
Choose N, R and W, cut a minority of replicas off, and see which side can still read and write and whether a read can miss the latest write.
- Used in
- Quorums: how many replicas must agreeModule 14, Consensus & Coordination
Clocks and the order of events
Simulator
Skew one process’s clock and compare how physical timestamps, Lamport clocks and vector clocks order a post, its reply and an unrelated event.
- Used in
- Physical clocks and clock skewModule 13, Consistency & Time
- Logical clocks: Lamport and vector clocksModule 13, Consistency & Time
Leader election and fencing tokens
Simulator
Pause a leader, let a follower win an election, and see the old leader’s late write overwrite the new data unless storage checks fencing tokens.
- Used in
- Consensus and leader electionModule 14, Consensus & Coordination
- Leases and fencing tokensModule 14, Consensus & Coordination
A saga and its compensations
Message flow
Make the last step of an order fail and compare an orchestrator and a choreography compensating the earlier steps in reverse order, with a retried refund and a crashed orchestrator.
- Used in
- Sagas: a business transaction across servicesModule 27, Distributed Patterns
A strangler fig facade
Message flow
Send a request through a routing facade to the legacy system or to the new service, then move the share of paths that has migrated and see the average time change.
- Used in
- The strangler fig: replacing a system one path at a timeModule 27, Distributed Patterns
Queues and streams
Send messages through a work queue or a partitioned log and see what a slow consumer, a crash, a lost acknowledgement or a hot key does to the backlog and to what is delivered.
Consumer lag
Simulator
Send faster than the consumers can take and watch the backlog grow, then add consumers or slow the producers until it drains.
- Used in
- Queues, pub/sub and consumer lagModule 15, Messaging
Backpressure
Simulator
Turn on backpressure so that a full queue refuses messages, and see the producers slowed to the rate the consumers sustain.
- Used in
- Backpressure and bounded queuesModule 15, Messaging
Retries and dead letters
Simulator
Crash consumers and send messages that always fail, and watch retries come back after the visibility timeout until the dead-letter queue takes the rest.
- Used in
- Retries and dead-letter queuesModule 15, Messaging
At-least-once delivery
Simulator
Lose some acknowledgements and count how often the queue sends a message whose work was already done.
- Used in
- Delivery semantics: at most once, at least once, effectively onceModule 15, Messaging
- Duplicate messagesModule 17, Idempotency
Partitions
Simulator
Split a topic into partitions by key, add consumers to the group and watch the partitions being shared out and the lag shrink.
- Used in
- Partitioned logs and consumer groupsModule 15, Messaging
- Batch and stream: logs, partitions and consumer groupsModule 16, Stream & Batch Processing
Consumer groups
Simulator
Add more consumers than partitions and see that the extra ones sit idle, because a partition is read by one consumer of the group at a time.
- Used in
- Lambda, kappa and reprocessing historyModule 16, Stream & Batch Processing
A hot partition
Simulator
Send most messages with one key and watch a single partition fall behind while the other consumers wait for work.
- Used in
- Batch and stream: logs, partitions and consumer groupsModule 16, Stream & Batch Processing
Offsets and replay
Simulator
Crash a consumer and count the messages that are read again from the last committed offset, then commit more often.
- Used in
- Offsets, commits and replayModule 15, Messaging
- Offsets, replay and what exactly-once really meansModule 16, Stream & Batch Processing
The outbox when the relay crashes
Message flow
Write an order and its message in one transaction, crash the relay before or after it publishes, and see the message arrive late or twice, with or without an inbox.
- Used in
- The transactional outbox: a write and a message as one stepModule 27, Distributed Patterns
The inbox and a duplicate message
Message flow
Redeliver a message after a consumer crash and compare a consumer with no inbox, which applies the effect twice, with one that stores the message id in the same transaction.
- Used in
- The inbox: idempotent consumers and exactly-once effectsModule 27, Distributed Patterns
Rate limiting
Send steady, bursty and spiky traffic at five rate limiters and several gateways, and see what each one lets through, what it rejects and how far a distributed limit can drift.
Token bucket
Simulator
Send a burst at a token bucket and see it absorbed up to the size of the bucket, then refilled at the rate you set.
- Used in
- The token bucket: a rate and a burstModule 22, Rate Limiting
Leaky bucket
Simulator
Send the same burst into a leaky bucket that works as a queue, and see the service behind get a steady stream while the queue takes the burst.
- Used in
- The leaky bucket: holding the burst backModule 22, Rate Limiting
The fixed window double burst
Simulator
Put a burst at the end of one fixed window and another at the start of the next, and see twice the limit get through in two seconds.
- Used in
- Fixed windows and the boundary burstModule 22, Rate Limiting
Sliding window log
Simulator
Run the same burst against a sliding window log and see that no span of the window length lets more than the limit through.
- Used in
- Sliding windows: exact, or estimatedModule 22, Rate Limiting
Sliding window counter
Simulator
Run seeded spikes against a sliding window counter and compare its estimate with the exact log.
- Used in
- Sliding windows: exact, or estimatedModule 22, Rate Limiting
Spiky traffic
Simulator
Send seeded spikes at five limiters and compare what each accepts, rejects and passes on in its worst second.
- Used in
- Sliding windows: exact, or estimatedModule 22, Rate Limiting
Local counters on three gateways
Simulator
Put three gateways in front of a service with a counter on each, and see the limit multiplied because nobody counts the traffic of the others.
- Used in
- Distributed limits: who is counting?Module 22, Rate Limiting
A shared counter read late
Simulator
Delay the gateways’ reading of the shared counter and see the limit overshot by the requests that arrive together.
- Used in
- Distributed limits: who is counting?Module 22, Rate Limiting
Observability
Read the dashboards, a trace and an error budget the way an on-call engineer does, and find the component that causes an incident.
Incident lab
Simulator
Find the cause of an incident from the dashboards of each service, a trace of one request and the error budget, and see which signal pointed to it and which misled.
- Used in
- Metrics and the four golden signalsModule 23, Observability
- Traces and spansModule 23, Observability
- Error budgets and burn ratesModule 23, Observability
- Alerting on symptomsModule 23, Observability
Deployment
Put a worse version on a fleet all at once, rolling, blue/green and as a canary, on the same traffic, and compare the users hit, the time to notice, the time to undo and the capacity lost.
Deployment lab
Simulator
Roll a worse version out all at once, rolling, blue/green and as a canary on the same traffic, and see how many users it reaches, how soon the alert fires and how fast it can be undone.
- Used in
- Rolling deployments and zero downtimeModule 25, Deployment
- Blue/green and canary deploymentsModule 25, Deployment
- Rollback: noticing a bad release and undoing itModule 25, Deployment
- Zero-downtime schema changes: expand and contractModule 25, Deployment
Failure and availability
Lose instances, a cache, a database or a primary, or add traffic, delay or writes, and watch what the rest of the system does about it.
The failure labs on one page, with how they work
Availability lab
Simulator
Kill instances and watch the share of requests still served, what that adds up to over a year and how many instances the system can lose.
- Used in
- Availability and the ninesModule 02, Core Properties
Kill Redis
Failure lab
Kill Redis and watch where the work goes, depending on how the application reacts when it cannot reach it.
- Used in
- When the cache fails: fail-open, fail-closed and the cascadeModule 08, Caching
Kill an API instance
Failure lab
Lose one of three API instances when the other two cannot carry the traffic, and watch a queue grow and requests time out.
- Used in
- Health checksModule 07, Load Balancing
- Cascading failures: when one loss becomes all of themModule 19, Failure Engineering
Add 10x traffic
Failure lab
Send ten times the traffic at once and see what gives way first, then what gives way next once you fix it.
- Used in
- AutoscalingModule 06, Scalability
- Overload, backpressure and load sheddingModule 19, Failure Engineering
- Failure scenariosModule 29, Interview Arena
Introduce 500 ms latency
Failure lab
Slow the network to the API tier by 500 ms, and see how a timeout and a retry can turn a slowdown into an outage.
- Used in
- Gray failures: slow is not deadModule 19, Failure Engineering
Slow dependency (not dead)
Failure lab
Make the database ten times slower instead of stopping it, and see why a slow dependency can do more damage than a dead one.
- Used in
- Little's LawModule 03, Performance
- Gray failures: slow is not deadModule 19, Failure Engineering
Kill the database
Failure lab
Stop the database and find out how much of the system still works, and what a replica or a bigger cache would change.
- Used in
- Dependencies: what a request cannot do withoutModule 01, System Thinking
- Dependency failures: when what you call breaksModule 19, Failure Engineering
Kill the primary (failover)
Failure lab
Kill the primary database and watch writes fail until a replica is promoted, then count the writes it had acknowledged that the replica never received.
- Used in
- Failover and lost writesModule 11, Replication
- Disaster recovery: RPO and RTOModule 19, Failure Engineering
Replication lag
Failure lab
Send a burst of writes and watch the replicas fall behind, and the reads they answer return older and older data.
- Used in
- Replication lag and stale readsModule 11, Replication
Network partition
Failure lab
Cut the link between the primary and its replicas and watch both sides carry on while their data drifts apart, unless writes are refused.
- Used in
- Failure injection and chaos experimentsModule 19, Failure Engineering
Duplicate request
Failure lab
Slow the link to the primary so that answers come back too late, and watch a retried write run again and again.
- Used in
- Duplicate requestsModule 17, Idempotency
No retries
Simulator
Let the dependency go down with no retries at all and see every request that arrives during the outage fail, as a baseline for the others.
- Used in
- Timeouts and retriesModule 18, Reliability
Immediate retries
Simulator
Retry every failed attempt at once and watch the dependency receive several times the traffic the users sent, just when it is down.
- Used in
- Timeouts and retriesModule 18, Reliability
Backoff without jitter
Simulator
Wait longer between attempts, but the same time for everyone, and watch requests that failed together retry together in waves.
- Used in
- Backoff and jitterModule 18, Reliability
Backoff with jitter
Simulator
Make each wait a random part of the delay and watch the same retries arrive spread out instead of in waves.
- Used in
- Backoff and jitterModule 18, Reliability
Three layers, 64 attempts
Simulator
Let three layers each retry the call below them and count up to 4 × 4 × 4 = 64 attempts at the dependency for one user request.
- Used in
- Retry amplification and retry budgetsModule 18, Reliability
A retry budget
Simulator
Limit each layer to a share of the calls it makes, and see the extra load stay small while what cannot be retried fails quickly.
- Used in
- Retry amplification and retry budgetsModule 18, Reliability
A circuit breaker
Simulator
Open the breaker after failures in a row and watch it go closed, open, half-open and closed again while a probe tests the dependency.
- Used in
- Circuit breakersModule 18, Reliability
Case studies
Watch a system start as one server and one database and grow stage by stage, and raise the load at each stage to see which component gives way and what the next stage adds.
URL shortener, stage by stage
Simulator
Grow a URL shortener from one server and one database to a cache, several servers, read replicas and key ranges, and raise the load at each stage to see what breaks next.
- Used in
- URL shortenerModule 28, Case Studies
Pastebin, stage by stage
Simulator
Grow a pastebin from one database to object storage, an edge cache, sharded metadata and batched expiry deletes, and raise the load at each stage to see what breaks next.
- Used in
- PastebinModule 28, Case Studies
Social feed, stage by stage
Simulator
Grow a social feed from reading at open time to timelines written in advance, then a hybrid that merges celebrity posts at read time, and raise the load at each stage to see what breaks next.
- Used in
- Social feedModule 28, Case Studies
E-commerce, stage by stage
Simulator
Grow an online shop from one database to a catalog cache, a cart store, an inventory service with reservations and a checkout saga, and raise the load at each stage to see what breaks next.
- Used in
- E-commerceModule 28, Case Studies
Payment system, stage by stage
Simulator
Grow a payment service from one database to idempotency keys, a double-entry ledger, a sharded database and reconciliation on replicas, and raise the load at each stage to see what breaks next.
- Used in
- Payment systemModule 28, Case Studies
Ride sharing, stage by stage
Simulator
Grow a ride-sharing service from positions in a database to an in-memory index, grid-cell shards, cells that adapt to density and a gateway that batches location updates, and raise the load at each stage to see what breaks next.
- Used in
- Ride sharingModule 28, Case Studies
Chat, stage by stage
Simulator
Grow a chat service from one server and one database to a partitioned message store, gateway servers with a connection registry, a sharded registry and delivery workers behind a log, and raise the load at each stage to see what breaks next.
- Used in
- ChatModule 28, Case Studies
Global messaging, stage by stage
Simulator
Grow a chat service from one region to three regional stacks, a cross-region relay log, a home region per conversation and a residency policy, and raise the load at each stage to see what breaks next.
- Used in
- Global messagingModule 28, Case Studies
Video platform, stage by stage
Simulator
Grow an on-demand video service from one server to object storage, a CDN, a transcoding pipeline with adaptive bitrate, an elastic worker fleet and more edge servers, and raise the load at each stage to see what breaks next.
- Used in
- Video platformModule 28, Case Studies
Live streaming, stage by stage
Simulator
Grow a live service from one media server to separate ingest and real-time encoding, a CDN, request collapsing and more edge servers, and raise the load at each stage to see what breaks next.
- Used in
- Live streamingModule 28, Case Studies
Search engine, stage by stage
Simulator
Grow a search engine from one index server to copies, shards, a results cache and index tiers, and raise the load at each stage to see what breaks next.
- Used in
- Search engineModule 28, Case Studies
Object storage, stage by stage
Simulator
Grow an object store from one disk server to separate metadata, three copies of every object and sharded metadata, and raise the load at each stage to see what breaks next.
- Used in
- Object storageModule 28, Case Studies
File storage, stage by stage
Simulator
Grow a file-sync service from whole files on one server to chunks, a change feed, sharded metadata, scaled-out servers and deduplication, and raise the load at each stage to see what breaks next.
- Used in
- File storageModule 28, Case Studies
Notification system, stage by stage
Simulator
Grow a notification service from sending inside the request to a queue, a preferences cache, a second email provider and a delivery log, and raise the load at each stage to see what breaks next.
- Used in
- Notification systemModule 28, Case Studies
Interview Arena and Builder
Draw an architecture, run it at a target load and read the findings, then practise a full system design interview against the clock.
Architecture Builder
Simulator
Draw a system from components and connections, run it at a target load, see which component gives way first and read the checks that explain what to fix.
- Used in
- Drawing and checkingModule 29, Interview Arena
- Failure scenariosModule 29, Interview Arena
Interview Arena: URL shortener
Simulator
Practise a full eight-stage interview on a URL shortener, from requirements and estimates to failure and trade-offs, against the clock.
- Used in
- No lesson uses it yet.
Interview Arena: chat service
Simulator
Practise a full eight-stage interview on a chat service, with message order, offline delivery and presence, against the clock.
- Used in
- No lesson uses it yet.
Interview Arena: notification system
Simulator
Practise a full eight-stage interview on a notification system, with fan-out, retries, duplicates and provider limits, against the clock.
- Used in
- No lesson uses it yet.
Interview Arena: social feed
Simulator
Practise a full eight-stage interview on a social feed, with fan-out on write or on read and the celebrity problem, against the clock.
- Used in
- No lesson uses it yet.
Interview Arena: global messaging
Simulator
Practise a full eight-stage interview on a global messaging system, with multi-region delivery, ordering and regional failure, against the clock.
- Used in
- No lesson uses it yet.
Built by GhaziAlibi.
© ShardCraft. All rights reserved.