-
Notifications
You must be signed in to change notification settings - Fork 3
Home
kavi castelo edited this page Nov 18, 2025
·
2 revisions
Welcome to the official wiki for Advanced Cache Design, a TypeScript repository implementing modern cache eviction and admission algorithms used across operating systems, databases, CDNs, and large-scale distributed systems.
This wiki covers:
- 💾 LRU (Least Recently Used)
- 📊 LFU (Least Frequently Used)
- 🔁 ARC (Adaptive Replacement Cache)
- 🧩 Segmented LRU (SLRU)
- 🔍 Count–Min Sketch (CMS)
- ⚙️ TinyLFU (Admission Policy)
- LRUCache
- LFUCache
- ARCCache
- SegmentedLRU
- CountMinSketch
- TinyLFU
- Architecture
- Diagrams
- Benchmarks
- FAQ
- References
This repository is designed for:
- Systems design learners
- Backend engineers
- Cache algorithm researchers
- Interview preparation
- Students studying OS memory management
All implementations are written in TypeScript, focusing on clarity over micro-optimizations.
npm install
npm run build
node dist/examples/test-lru.jsContributions are welcome! Create an issue or submit a pull request.
All rights reserved © 2025 kavi castelo