heady-redis-lattice
OfficialPhi-tuned multi-tier caching with pub/sub.
AuthorHeadyAI
Version1.0.0
Installs0
System Documentation
What problem does it solve?
High-latency data access across distributed services is mitigated by orchestrating a three-tier cache hierarchy spanning edge, in-memory, and durable stores, delivering low-latency reads and consistent state.
Core Features & Use Cases
- L1 edge cache (Cloudflare KV) with ~1ms latency
- L2 in-memory Redis (Upstash) for session & rate limiting
- L3 durable Postgres cache with pgvector embeddings
- Phi-scaled TTLs and tiered coherence: write-through for hot data, write-back for warm data
- Pub/sub event bus for cross-service coordination
- Embedding cache and predictive cache warming for hot-path data
- Session store backing with httpOnly cookies and phi-decay eviction
Quick Start
Configure the three-tier cache by wiring your Cloudflare KV, Upstash Redis, and Neon Postgres instances, then perform a get or set to observe L1/L2/L3 behavior.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: heady-redis-lattice Download link: https://github.com/HeadyAI/heady-context/archive/main.zip#heady-redis-lattice Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.