alibaba / tair-kvcache
Alibaba Cloud's high-performance KVCache system for LLM inference, with components for global cache management, inference simulation(HiSim), and more.
Why this job: matched by what the repo talks about: inference, llm, performance, cache



What it does
- LLM-aware matching. prefix matching, reverse rolling sliding-window matching, hybrid attention (Mamba/SWA), and batch queries by block key, with multi-LocationSpec organization for hybrid attention.
- Two-phase writes. reserve a write location, write the data, then confirm; only confirmed blocks become readable.
- Multi-tenant quotas and fair reclaim. Instance Group quotas, backend watermarks, Group LRU / usage-proportional policies, asynchronous eviction that does not block foreground requests.
- Tiered storage. DRAM/SSD hot-cold tiers, watermark-triggered background Copy or Mark writes, expanding effective cache capacity while controlling the hot tier.
- Inference-side cache state reporting. inference services use ReportEvent incremental updates + optional snapshots to bring L1.5/L2 cache state into the global index; GetHostCacheState evaluates host-local and global hits.
Get started
No single install command. Read the steps in the README (opens in new tab)
- Maintenance
- Active
- Last commit yesterday
- Stars
- 280
- +3 this week
- Licence
- Apache-2.0
- Allows business use
- Downloads for
- None listed
- No release files
- Latest version
- 2 releases
- None marked latest
- Built with
- C++
- 74% of the code
Is it looked after?
- Contributors
- 17
- Last 90 days
- Issues
- 22% closed
- 7 still open
- Pull requests
- 293 merged
- 55 waiting
- Releases
- 2
- 2 in the last year
- No contributing guide
- No security policy
- No code of conduct
Similar repos
| Repo | Stars | Last commit | Licence | Downloads for |
|---|---|---|---|---|
| LMCache / LMCache | 12,321 | today | Apache-2.0 | Linux |
| novitalabs / pegaflow | 221 | 7 days ago | Apache-2.0 | Linux |
| kvcache-ai / Mooncake | 7,013 | today | Apache-2.0 | Linux |
More: languages, topics and project record
Languages
- C++ 74%
- Python 21%
- Starlark 2%
- Java 1%
Topics
- kv-cache
- kvcache
- llm
- simulator
- hisim
Project record
- JobLocal LLMs
- StatusListed
- Commits326
- Forks69
- Watching2
- Stars in 28 days+13
- CreatedDec 29, 2025
- First seen by usNov 7, 2026
- CheckedNov 10, 2026
