II.
StackPart overview
Reference · livestack-part:cache
Cache overview
In-memory key/value store providing sub-millisecond reads for frequently accessed data, reducing load on the primary database and improving response latency. Caching strategies include cache-aside, read-through, write-through, and write-behind patterns. Redis (the dominant choice) supports rich data structures (hashes, sorted sets, streams), pub/sub, Lua scripting, and optional persistence via RDB and AOF. Memcached is simpler but faster for pure caching. Varnish operates at the HTTP layer for full-page or fragment caching. Key operational concerns include cache invalidation strategies, TTL tuning, eviction policies (LRU, LFU), and hot-key management in clustered setups.
Attributes
displayName
Cache
category
data-store
description
In-memory key/value store providing sub-millisecond reads for frequently
accessed data, reducing load on the primary database and improving
response latency. Caching strategies include cache-aside, read-through,
write-through, and write-behind patterns.
Redis (the dominant choice) supports rich data structures (hashes, sorted
sets, streams), pub/sub, Lua scripting, and optional persistence via RDB
and AOF. Memcached is simpler but faster for pure caching. Varnish
operates at the HTTP layer for full-page or fragment caching. Key
operational concerns include cache invalidation strategies, TTL tuning,
eviction policies (LRU, LFU), and hot-key management in clustered setups.
Outgoing edges
stack_part_used_by2
- skill-area:caching-strategies·SkillAreaCaching
- skill-area:cache-optimization·SkillAreaCPU Cache Optimization
Incoming edges
implements_stack_part8
- platform-service:vercel-kv·PlatformServiceVercel KV
- platform-service:vercel-kv·PlatformServiceVercel KV
- platform-service:heroku-redis·PlatformServiceHeroku Redis
- platform-service:heroku-redis·PlatformServiceHeroku Redis
- platform-service:fly-redis·PlatformServiceFly Redis (Upstash)
- platform-service:fly-redis·PlatformServiceFly Redis (Upstash)
- platform-service:railway-redis·PlatformServiceRailway Redis
- platform-service:railway-redis·PlatformServiceRailway Redis
integrates_with1
- tool-server:mcp-redis·ToolServerMCP Redis
uses_stack_part2
- skill-area:caching-strategies·SkillAreaCaching
- skill-area:data-fetching-caching·SkillAreaData Fetching and Caching