Opengist

Explore

  • All gists
  • Topics
  • Users
Give feedback on the new UI Powered by Opengist ⋅ 41ms

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login Register

linkjobai

Joined 5 days ago

All gists 1
Recently created Least recently created Recently updated Least recently updated

linkjobai / System Design Interview: Designing a Distributed Cache

Last active 5 days ago interview

Interview prep notes

0 0 1

System Design Interview: Designing a Distributed Cache

"Design Memcached/Redis cluster" checks whether you understand partitioning, eviction and the consistency trade-offs of caching.

Requirements

  • get(key) and set(key, value, ttl) with sub-millisecond latency.
  • Data set larger than one machine's memory (say 2 TB across the cluster).
  • Losing cached data is acceptable; the database is the source of truth.