TrackEX0023

Distributed Cache

Hard

Problem

A single cache node went down for ninety seconds last night and an entire slice of the keyspace it owned returned nothing but misses, hammering every database behind it at once. Build a distributed, in-memory cache shared by dozens of other services on the platform; the infrastructure they call instead of each running their own. Design it from a blank canvas as an actual sharded cluster, not one beefed-up node: it has to hold up at real scale, survive losing any single node without losing the data that node held, keep serving a meaningfully high hit rate under steady traffic, and not collapse when one key gets far more traffic than any other.

Required components

Click to add a component to the canvas.

Additional components

Browse by category. Click or drag a component onto the canvas.

Drag components from the library onto the canvas, then drag from a component's right handle to connect it to another.

100%

Design canvas

Sign up to start designing

Sign up free

Premium is free for 58 more days.

$0 / $2,200