C++ Cache Libraries
Cache libraries for C++
GitHub Star Comparison
| No | Name | GitHub Stars | Description | Trend | License | Type | Official Site |
|---|---|---|---|---|---|---|---|
| 1 | redis-plus-plus | - | Comprehensive Redis client for C++. Based on hiredis, supports connection pool, pipeline, and Redis Cluster | Growing as standard library for Redis usage in C++ in 2025. Expanding adoption with modern C++17/20 support | Apache-2.0 | Redis Client | Official |
| 2 | hiredis | - | Core Redis C language client. Minimal and high-performance Redis access foundation usable from C++ | Important as foundation library in 2025. Enhanced reliability with stable Version 1.0.0 release | BSD-3-Clause | Core Client | Official |
| 3 | Cachelot | - | Ultra-high-performance C++ LRU cache library. 3 million items per second access performance with 5-7% low memory overhead | Gaining attention in applications demanding highest performance in 2025. Increasing adoption in gaming and HFT sectors | MIT | LRU Cache | Official |
| 4 | cpp-lru-cache | - | Simple header-only LRU cache implementation. HashMap and linked list based achieving O(1) operations | Popular for lightweight embedded use in 2025. Adopted in small projects for header-only convenience | MIT | Header-Only LRU | Official |
| 5 | Boost Cache | - | Cache functionality provided as part of Boost library. Design emphasizing robustness and standardized API | Continued use within Boost ecosystem in 2025. Stable adoption in enterprise development | Boost Software License | Standard Library | Official |