Redis

Redis

NeuralBlitz Updated 1 repo stars

File contents

Redis

Redis is an in-memory data structure store used as a database, cache, and message broker. It supports various data structures including strings, hashes, lists, sets, and streams.

Key Concepts

  • Data structures (Strings, Hashes, Sets, Sorted Sets)
  • Persistence (RDB, AOF)
  • Pub/Sub messaging
  • Lua scripting
  • Cluster mode

Common Use Cases

  • Session storage
  • Cache layer
  • Rate limiting
  • Leaderboards
  • Real-time analytics

Best Practices

  • Use connection pooling
  • Set appropriate TTLs
  • Monitor memory usage
  • Use Redis Cluster for scaling
  • Leverage Lua for atomic operations

Resources

  • Redis.io: redis.io/documentation
  • Redislabs: redislabs.com
  • Related Skills: caching, session-management, message-queues

NeuralBlitz/Agent-Gateway/tree/main/agent-gateway/skills/user/categories/frameworks-libraries/redis commit 5fe4ab8a5c

Frequently asked questions

npx skillmds@latest add neuralblitz/redis-4