Pular para o conteúdo
Kitbay
SkillOficial

redis-connections

MITAtualizado em 5 de nov. de 2026178Estrelas no GitHub

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

O que a skill ensina

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.

O que faz

  • 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