~/talk

Make API Calls Wicked Fast with Redis

Talkat PyOhio 2014 · 2014-07-26..07-27· [web-performance]
links:none on file
slides:none on file

Shows how Redis sits in front of API/database calls to cut response times from hundreds of milliseconds to single digits (examples: 236 ms first query, 120 ms DB read, 3 ms cached). Demonstrates configuring eviction behavior (allkeys-lru, maxmemory-samples), using redis-cli, setting TTLs, and when to avoid caching vs add DB indexes. Explains creating cache keys for autocomplete, avoiding stale results by invalidating with pipeline deletes, and tradeoffs of persistence vs ephemeral cache.

AI-written summary · about

  1. 0:00Start
  2. 18:49When You Should and Should Not Cash
  3. 20:57When Should You Totally Avoid a Caching Solution
  4. 25:29Redis Config
  5. 31:28Flask Sequel Alchemy Extension
  6. 39:34Add a Skyline Recipe
  7. 48:05Postgres Indexing
~/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.