Work · Personal · In progress

Distributed cache

A peer-to-peer cache with consistent hashing and LRU eviction, built in the open and written up as I go.

Overview

A distributed caching system inspired by groupcache. Every peer can serve a request and forward it to the node that owns the key.

  • Consistent hashing to spread keys across nodes
  • LRU eviction
  • HTTP transport between peers

Status

In progress. I'm writing up each stage as I build it.