Java Cache Libraries

Cache libraries for Java

GitHub Star Comparison

Java Cache Libraries GitHub Star Comparison
NoNameGitHub StarsDescriptionTrendLicenseTypeOfficial Site
1Guava Cache⭐ 51.2kLocal cache library for Java developed by Google. Provided as part of Google Core Libraries for JavaDecreased new adoption in 2025 but continued use in legacy projects. Migration to Caffeine recommendedApache-2.0Legacy CacheOfficial
2Redisson⭐ 24.1kJava client and distributed object framework for Redis. Provides rich Redis data structures and Hibernate L2 cacheImportant position in Redis ecosystem in 2025. Increasing adoption for Redis utilization in microservicesApache-2.0Distributed ObjectsOfficial
3Caffeine⭐ 17.1kHigh-performance caching library for Java. Provides top performance and rich features for single-node applicationsReigns as the pinnacle of Java caching in 2025. Rapid expansion through standard adoption in Spring BootApache-2.0High-Performance CacheOfficial
4Jedis⭐ 12.2kSimple and small Redis Java client. Provides lightweight and straightforward Redis accessChosen for simple Redis access in 2025. Continued use in projects prioritizing lightweight natureMITSimple ClientOfficial
5Hazelcast⭐ 6.4kHigh-availability cache and data grid for distributed systems. Excellent performance in large-scale distributed applicationsGrowing in cloud-native applications in 2025. Expanding adoption due to increased demand for distributed cachingApache-2.0Data GridOfficial
6Lettuce⭐ 5.7kAsynchronous and reactive Redis Java client. Netty-based achieving high throughput and low latencyGrowing with the spread of reactive programming in 2025. Expanding adoption in applications prioritizing asynchronous processingApache-2.0Reactive ClientOfficial
7Ehcache⭐ 2.1kMost established Java cache library. Provides mature feature set with distributed caching and Hibernate integrationStable usage in enterprise environments in 2025. Maintains important position through legacy system compatibilityApache-2.0Distributed CacheOfficial