persistent collections as a service
summary
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
chapters (20)
- 0:00Intro
- 0:41So what is Redis?
- 1:50Connecting to a server using the command line
- 2:03Command line client: completion
- 2:38Command line client: help
- 5:01Keys: example
- 6:20What can values be?
- 8:16String values as numbers
- 9:38So how does redis-py handle arguments?
- 10:43List values
- 12:23My favourite Redis instruction
- 13:17BRPOPLPUSH example
- 16:13Sorted set values example
- 17:18Hash values example
- 17:56My one grumble about redis-py Redis says PING
- 18:54The online documentation
- 19:19Commands overview
- 19:40Individual command documentation APPEND key value
- 21:20Async unit testing - wrap FakeRedis
- 22:32Other cool things
related talks
33mIntroduction to Redis
27mBehind the Keys: Redis Oyster Cult
46mFun with Ruby and Redis
10mRedis, databaza në memorie me shumë përdorime
31mRedis: From Cache to Time Series!
24mWhen Real Time Meets Big Data & Analytics
56mRedis Application Patterns in Rails
36mElasticSearch and Redis How and When to Use Them
