
ConcurrentCache
zimingttkx
A high-performance distributed in-memory object cache system built from scratch in C++17, compatible with Redis protocol.
AI 简介
ConcurrentCache 是一个纯 C++20 实现的高性能分布式内存缓存系统,兼容 Redis RESP 协议,支持标准 Redis 客户端直连。核心特性包括 MainReactor+SubReactorPool 多线程 Reactor 网络模型、64 分片分段锁哈希表、三层无锁/细粒度锁内存池(ThreadCache/CentralCache/PageCache)、RDB 快照持久化及初步集群支持(哈希槽、Gossip、主从复制)。适用于对延迟敏感、需 Redis 兼容接口但希望规避 JVM 或 Python 运行时开销的场景,如高频交易中间层缓存、微服务本地高吞吐缓存代理、教学与系统级编程实践。
C++
MIT License185
Stars
7
Forks
5
Watchers
1
Issues
Star 增长
今日0
近 7 天0
近 30 天+3
综合评分2.71
默认分支main