~/talk

Cache me if you can: Boosted application performance with Redis and client-side caching

Talkat PyCon DE & PyData 2025 · on Thursday, 2025-04-24· at 16:15· Platinum3· [web-performance, databases]
links:none on file
slides:none on file

A concrete recipe for client-side caching with Redis: use redis-py 5.1.1+ with RESP3 + Redis 7.4+, enable the client cache (LRU by item count, default key = command+keys), and rely on client tracking push invalidations so server-side writes invalidate local copies. Demo uses 10,000 sequential keys, 1,000-item local cache (10%), poor network, showing uncached ~600 reads/s and 300 writes whereas client caching halves remote reads and shifts load locally. Synchronous API only today; async support and semantic/vector caching services are coming.

AI-written summary · about

  1. 0:00Introduction to the speaker
  2. 1:22Overview of Redis use cases
  3. 4:03Caching basics and patterns
  4. 6:48Managing cache accuracy
  5. 8:43Benefits of client-side caching
  6. 10:51Live demo of client-side caching
  7. 15:08Implementing client tracking
  8. 16:54Client library architecture
  9. 21:25Getting started with code
  10. 22:54Ecosystem updates and features
  11. 26:50Q&A session
~/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.