What problem does it solve?
This Skill provides comprehensive guidelines for optimizing Redis performance, implementing best practices for data structures, and leveraging advanced features like Redis Query Engine, vector search, and semantic caching.
Core Features & Use Cases
- Data Structures & Keys: Best practices for choosing the right data type and key naming conventions.
- Memory & Expiration: Memory limits, eviction policies, and TTL strategies for efficient memory management.
- Connection & Performance: Connection pooling, pipelining, timeouts, and avoiding blocking commands.
- JSON Documents: Using Redis JSON for nested structures, partial updates, and integration with RQE.
- Redis Query Engine: FT.CREATE, FT.SEARCH, FT.AGGREGATE, index design, field types, and query optimization.
- Vector Search & RedisVL: Vector indexes, HNSW vs FLAT, hybrid search, and RAG patterns with RedisVL.
- Semantic Caching: LangCache for LLM response caching, distance thresholds, and cache strategies.
- Streams & Pub/Sub: Choosing between Streams and Pub/Sub for messaging patterns.
- Clustering & Replication: Hash tags for key colocation, read replicas, and cluster-aware patterns.
- Security: Authentication, ACLs, TLS, and network security.
- Observability: SLOWLOG, INFO, MEMORY commands, monitoring metrics, and Redis Insight.
- Use Case: A developer working on a Redis-powered application can use this Skill to optimize data models, enhance performance, and implement advanced features like vector search and semantic caching.
Quick Start
Use the redis-development skill to build a vector search index for product data in Redis.