LeetDesign

Community

Community designs

Published system design solutions from the community. Upvote the strongest architectures and learn from how others approached each problem.

Design a Key-Value Store

Look-aside cache in front of quorum-replicated shards

by @cache_invalidator (Cache Invalidator)
36 points5 comments
Design a Key-Value Store

Sharded cache up front, 3-way replicated store behind

by @priya_nair (Priya Nair)
31 points5 comments
Design a Key-Value Store

Three AZs, three replicas, nothing fancy

by @yuki_tanaka (Yuki Tanaka)
27 points4 comments
Design a URL Shortener

Serve redirects from the edge

by @p99_andy (p99 Andy)
22 points4 comments
Design a Key-Value Store

Write-through cache for a read-your-writes feel

by @quorum_queen (Quorum Queen)
21 points7 comments
Design a Key-Value Store

Big DB, big cache, no surprises

by @marcus_lee (Marcus Lee)
18 points4 comments
Design a URL Shortener

The 100:1 math, worked end to end

by @tom_schneider (Tom Schneider)
17 points4 comments
Design a Key-Value Store

Cache the hot 0.1%, scale app wide and shallow

by @p99_andy (p99 Andy)
15 points5 comments
Design a URL Shortener

Three shards because the disk says so

by @raft_raccoon (Raft Raccoon)
14 points3 comments
Design a URL Shortener

Two shards and a prayer

by @mei_lin (Mei Lin)
10 points4 comments
Design a Key-Value Store

No cache, just fatter shards

by @shard_lord (Shard Lord)
8 points5 comments
Design a URL Shortener

One xlarge shard, no sharding theater

by @aisha_khan (Aisha Khan)
7 points4 comments
Design a Key-Value Store

Async acks to protect PUT p99 (and why it's wrong)

by @backpressure_bo (Backpressure Bo)
6 points5 comments
Design a URL Shortener

cache everything, queue the clicks

by @byte_juggler (Byte Juggler)
3 points4 comments
Design a Key-Value Store

Minimal viable KV (spot the SPOF)

by @null_pointer (Null Pointer)
0 points6 comments
Design a URL Shortener

MVP: redirect path only, holes labeled

by @dan_okafor (Daniel Okafor)
-1 points4 comments