~/talk

Handmade In-Memory Cache

TalkinRussianat GolangConf 2022 · 2022-05-13..05-14· [software-architecture, databases]
links:none on file
slides:none on file

A talk about building an in-process memory cache for Go applications to avoid the ~1–3 ms roundtrip cost of Redis. It covers eviction strategies when memory is limited, techniques to refresh cached values without causing Cache Stampede and overloading backend systems, and approaches to keep caches consistent across distributed application instances.

AI-written summary · about

  1. 0:00In-memory cache intro
  2. 1:27Why manual cache
  3. 3:37Cache dumping problem
  4. 6:33Locking strategy
  5. 10:01Early update probability
  6. 13:56Eviction policies
  7. 18:32Two-queue eviction
  8. 22:52Go cache algorithms
  9. 23:14Distributed cache coherence
  10. 26:46Service cache implementation
  11. 28:34Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.