Python using Redis - what kicked our asses?
summary
Team adopts Redis for caching and queuing and discovers it is terrible as a primary DB: lost data when persistence isn’t enabled by the cloud provider, and a single Redis outage halts automation for ~20–25 engineers. Python confusion between StrictRedis vs Redis causes argument-order bugs, default socket timeouts cause long hangs, values are returned as strings (zero is truthy), stale config appears without expiries, and naive locks race; use SETNX or redis-lock and enable replication/persistence if you need durability.
AI-written summary · about
chapters (12)
- 0:00Intro
- 0:48What is Redis
- 2:10How to use Redis
- 3:25Connection timeout
- 4:52Datatypes
- 6:12Usage
- 8:42Locking
- 10:54Storage
- 12:07Redis Failure
- 13:55Thank you
- 14:29Redis Cluster Replication
- 17:06Redis Master Slave
related talks
33mIntroduction to Redis
25mpersistent collections as a service
46mFun with Ruby and Redis
23mDistributed locks with Python and Redis
51mX-Raying Your Redis App: SDK Tuning with a Performance Engineer’s Eye
38mDubious Database Design
24mWhen Real Time Meets Big Data & Analytics
36mRunning Redis for 8 years
