~/talk

Caching Strategies for an Erlang Based Web Stack

Talkat Erlang Factory SF Bay Area 2014 · 2014-03-06..03-07· [databases]
links:none on file
slides:none on file

Two open source caching tools are presented: a memcached client layer that pairs with mcashd + Moxy for distributed, restart-surviving caches, and an in-node Erlang cache er_cache that does per-key eviction, auto-refresh with error-awareness, and macro-based memoization. Deployed on a stack serving 200M monthly uniques, a costly "get related labels" call drops from ~100ms → ~2–4ms, caches ~2k keys with 96.5–98.5% hit ratio, and memory spikes fall (eviction bug fixed from ~11GB). Both solutions are production-tested and available as repos.

AI-written summary · about

  1. 0:00Start
  2. 3:11Storage Layer
  3. 3:58The Role of Caching
  4. 6:07Considerations When Choosing a Caching System
  5. 13:51Airmailed Cash
  6. 22:51Idea behind this Project
  7. 27:03Memory Usage
  8. 33:29Response Times
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.