~/talk

persistent collections as a service

Talkat PyCon UK 2018 · 2018-09-15..09-19· [databases, python]
name:Tony Ibbs
linkedin:tony-ibbs
slides:none on file

Quick practical tour of Redis showing actual commands and use cases: BRPOPLPUSH used to implement a reliable circular queue and it works atomically; counters and semaphores use atomic increments because the server is single-threaded; lists, sets, sorted sets (scores as timestamps) and hashes map to Python structures and support efficient range and trim operations. Uses redis-py for examples, fakeredis for unit tests and aioredis for asyncio; mentions pub/sub, server-side Lua scripts and upcoming streams for real-time log-like data.

AI-written summary · about

  1. 0:00Intro
  2. 0:41So what is Redis?
  3. 1:50Connecting to a server using the command line
  4. 2:03Command line client: completion
  5. 2:38Command line client: help
  6. 5:01Keys: example
  7. 6:20What can values be?
  8. 8:16String values as numbers
  9. 9:38So how does redis-py handle arguments?
  10. 10:43List values
  11. 12:23My favourite Redis instruction
  12. 13:17BRPOPLPUSH example
  13. 16:13Sorted set values example
  14. 17:18Hash values example
  15. 17:56My one grumble about redis-py Redis says PING
  16. 18:54The online documentation
  17. 19:19Commands overview
  18. 19:40Individual command documentation APPEND key value
  19. 21:20Async unit testing - wrap FakeRedis
  20. 22:32Other cool things
~/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.