Redis Redis Connections

Redis client and connection guidance covering connection pooling, multiplexing, pipelining, client-side caching with RESP3, avoiding slow commands (KEYS, SMEMBERS, HGETALL), and tuning socket timeouts. Use when configuring a Redis client (redis-py, Jedis, Lettuce, NRedisStack), batching commands for throughput, eliminating per-request connection creation, iterating large keyspaces with SCAN, enabling client-side caching for read-heavy workloads, or setting connect and read timeouts.

pyfagorass Updated

File contents

pyfagorass/bookofspells/tree/main/skills/redis/redis-connections commit 5e6134cce4

Frequently asked questions

npx skillmds@latest add pyfagorass/redis-redis-connections