redis

- Use appropriate data structures

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "redis" with this command: npx skills add kprsnt2/mylocalcli/kprsnt2-mylocalcli-redis

Redis Best Practices

Data Modeling

  • Use appropriate data structures

  • Use meaningful key names

  • Implement key expiration

  • Use hashes for objects

  • Use sorted sets for leaderboards

Caching Patterns

  • Cache-aside (lazy loading)

  • Write-through for consistency

  • Write-behind for performance

  • Set appropriate TTLs

  • Handle cache misses gracefully

Performance

  • Pipeline commands

  • Use Lua scripts for atomic ops

  • Avoid large keys/values

  • Use SCAN instead of KEYS

  • Monitor memory usage

Reliability

  • Enable persistence (RDB+AOF)

  • Use Redis Cluster for HA

  • Implement proper error handling

  • Set maxmemory policy

  • Monitor with RedisInsight

Security

  • Enable authentication

  • Use TLS encryption

  • Bind to specific interfaces

  • Rename dangerous commands

  • Limit client connections

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

testing

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

python

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

api-design

No summary provided by upstream source.

Repository SourceNeeds Review