System design / 5 simulations
Networking and API Design for System Design
API design you can see: REST vs GraphQL vs gRPC, offset vs cursor pagination, HTTP caching with ETags, webhook retries and GeoDNS vs anycast.
Open the lab → Change the load, break a part, watch what happens. Free, no sign-up.
All topics: networking and apis
- REST vs GraphQL vs gRPC: requests, payloads and N+1Intermediate · 6 min
Load one phone screen three ways. Count requests, round trips and wasted bytes, then watch GraphQL hit the database N+1 times until DataLoader batches it.
- API pagination: offset vs cursor (keyset)Beginner · 5 min
Page through 10 million rows. Deep offsets read a million rows for 20 results and repeat items when new rows arrive; cursors stay fast and exact.
- HTTP caching: Cache-Control, ETag and 304 Not ModifiedBeginner · 5 min
Switch between no-store, no-cache and max-age, toggle the ETag and watch each visit: served from cache, a tiny 304, a full download or a stale copy.
- Webhooks: retries, backoff, duplicates and signaturesIntermediate · 5 min
Take your webhook receiver down for an hour. See which retry schedule loses events, which floods you on recovery, and why handlers need dedupe and HMAC.
- GeoDNS vs anycast: routing users to the nearest regionAdvanced · 5 min
Serve India, Europe and the US from three regions, then take one down. GeoDNS waits for TTLs to expire; anycast moves traffic in seconds via BGP.
Other topics
- System Design Basics
- Scaling Databases and Caches
- Queues, Kafka and Streaming
- Reliability and API Gateways
- Security and Authentication for System Design
- Testing and Reliability for System Design
- Distributed Systems Patterns for System Design
- Database Internals for System Design
- Data Platform and Data Engineering for System Design
- Observability for System Design
- DevOps and Cloud Infrastructure
- Payment System Design
- System Design Interview Questions