Zum Inhalt springen
Kitbay

redis-connections

MITAktualisiert am 5. Nov. 2026178GitHub-Sterne

Redis's skill on how application code should talk to Redis.

Was der Skill vermittelt

Redis's skill on how application code should talk to Redis. It covers sharing connections through a pool or multiplexing instead of opening one per request, batching work with pipelines, replacing commands that scan everything (KEYS, SMEMBERS, HGETALL on large values) with SCAN-style iteration, turning on client-side caching with RESP3 for hot keys, and setting connect and read timeouts. Examples use clients such as redis-py, Jedis, Lettuce and NRedisStack. It is guidance the agent loads and needs no running Redis.

Funktionen

  • Configure connection pooling or multiplexing in a Redis client
  • Batch commands with pipelining
  • Replace KEYS and other full scans with SCAN
  • Enable client-side caching and set timeouts