awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com

Java Caching Libraries

Ranking updated Jul 13, 2026

For a caching library for Java applications, the strongest matches are ben-manes/caffeine (Caffeine is a high-performance, thread-safe, in-memory caching library for), google/guava (Guava provides a robust, high-performance in-memory caching implementation that) and hazelcast/hazelcast (Hazelcast is a high-performance, distributed in-memory data grid that). apache/ignite and redisson/redisson round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.

We curate open-source GitHub repositories matching “best java caching libraries”. Results are ranked by relevance to your query — pick filters below to narrow, or refine with AI.

Java Caching Libraries

Find the best repos with AI.We'll search the best matching repositories with AI.
  • ben-manes/caffeineben-manes avatar

    ben-manes/caffeine

    17,706View on GitHub↗

    Caffeine is a high-performance caching library for the Java virtual machine designed to manage object lifecycles within the application heap. It functions as a thread-safe, memory-resident data store that reduces latency by keeping frequently accessed objects available for immediate retrieval. The library distinguishes itself through a sophisticated eviction strategy that balances recency and frequency to determine which entries to retain. It utilizes a frequency-based admission policy to evaluate the historical access patterns of new data, ensuring that the cache remains populated with the m

    Caffeine is a high-performance, thread-safe, in-memory caching library for Java that provides advanced eviction policies and asynchronous loading, making it a flagship solution for reducing application latency.

    JavaAutomatic Cache LoadersIn-Memory CachesIn-Memory Caching
    View on GitHub↗17,706
  • google/guavagoogle avatar

    google/guava

    51,473View on GitHub↗

    Guava is a Java standard library extension and utility toolkit that provides optimized data structures, concurrency tools, and core extensions. It serves as a comprehensive set of helpers for Java development, focusing on reducing repetitive boilerplate logic. The project is distinguished by its specialized implementations of immutable collections, which ensure thread safety and data consistency by preventing accidental modification. It also includes a dedicated graph data structure library for modeling and traversing networks of interconnected nodes and edges, alongside advanced collection t

    Guava provides a robust, high-performance in-memory caching implementation that is widely used in the Java ecosystem for reducing latency, though it is a general-purpose utility library rather than a dedicated JSR-107 caching framework.

    JavaCache Eviction PoliciesIn-Memory CachesIn-Memory Caching
    View on GitHub↗51,473
  • hazelcast/hazelcasthazelcast avatar

    hazelcast/hazelcast

    6,570View on GitHub↗

    Hazelcast is a distributed data platform that combines an in-memory data grid with a stream processing engine to support real-time analytics and event-driven applications. It functions as a partitioned, distributed key-value store that replicates data across cluster nodes to provide low-latency access and high availability. The platform also serves as a distributed SQL query engine, allowing users to execute standard SQL statements against both in-memory datasets and external data sources. What distinguishes Hazelcast is its use of a distributed consensus subsystem to maintain strongly consis

    Hazelcast is a high-performance, distributed in-memory data grid that provides robust caching capabilities, JSR-107 (JCache) support, and advanced concurrency features, making it a comprehensive solution for low-latency Java applications.

    JavaCache Eviction PoliciesDistributed CachesDistributed Data Grids
    View on GitHub↗6,570
  • apache/igniteapache avatar

    apache/ignite

    5,066View on GitHub↗

    Ignite is a distributed in-memory data grid and compute platform. It functions as a distributed SQL database and storage engine designed to store and process large datasets in RAM to minimize latency and increase calculation speed. The system is distinguished by a multi-tier storage engine that manages data placement across memory and disk to balance high-speed access with large capacity. It features a distributed compute grid that executes custom logic directly on the nodes where data resides to reduce network traffic. The platform provides a broad set of capabilities including ACID transac

    Apache Ignite is a distributed in-memory data grid that provides high-performance caching capabilities alongside its broader database and compute features, making it a powerful, albeit heavy, solution for Java-based in-memory data management.

    JavaDistributed CachingDistributed Data Grids
    View on GitHub↗5,066
  • redisson/redissonredisson avatar

    redisson/redisson

    24,355View on GitHub↗

    Redisson is a Java library and Redis client that functions as a distributed Java object mapper, caching provider, and locking framework. It maps Java collections and concurrency primitives to distributed implementations backed by Redis and Valkey, providing synchronous, asynchronous, and reactive APIs for interacting with these data stores. The project distinguishes itself by providing a comprehensive suite of distributed coordination tools, including a locking framework for managing semaphores and countdown latches across multiple application nodes. It also serves as a distributed messaging

    Redisson is a robust Java library that provides distributed caching and JSR-107 support by leveraging Redis, making it a powerful tool for high-performance data retrieval and concurrency management across application nodes.

    JavaDistributed Caching
    View on GitHub↗24,355
  • memcached/memcachedmemcached avatar

    memcached/memcached

    14,132View on GitHub↗

    Memcached is a high-performance, distributed, in-memory key-value storage and request routing engine. It functions as a volatile data store designed to accelerate dynamic applications by caching objects in RAM, thereby reducing backend database load and providing sub-millisecond response times. The system utilizes a specialized architecture that organizes memory into fixed-size slabs to minimize fragmentation and maximize throughput for high-concurrency workloads. The project distinguishes itself through a multi-threaded, lock-friendly design that scales across CPU cores and supports complex

    Memcached is a high-performance, distributed, in-memory key-value store that functions as a standalone server rather than a Java-native caching library you would embed within your application.

    CCache Eviction PoliciesDistributed CachesDistributed Caching
    View on GitHub↗14,132
  • kvcache-ai/mooncakekvcache-ai avatar

    kvcache-ai/Mooncake

    5,594View on GitHub↗

    Mooncake is a disaggregated large language model serving platform and distributed key-value store designed for high-performance inference infrastructure. It functions as a GPU memory orchestrator and KV cache management system that pools and transfers key-value caches across clusters to accelerate inference. The system distinguishes itself by separating the prefill and decode phases of inference into distinct hardware clusters to optimize resource utilization. It utilizes a high-performance RDMA distributed cache with zero-copy transfers to move data between compute nodes, bypassing the CPU t

    This project is a specialized distributed key-value store for managing LLM inference caches on GPU clusters, rather than a general-purpose in-memory caching library for Java applications.

    C++Cache Eviction PoliciesDistributed CachesDistributed Caching
    View on GitHub↗5,594
  • olric-data/olricolric-data avatar

    olric-data/olric

    3,469View on GitHub↗

    Olric is a distributed data grid and in-memory key-value store that partitions and replicates data across a cluster of servers. It serves as a shared memory system for managing distributed maps, performing atomic operations, and acting as an in-memory data cache. The system provides a distributed locking mechanism for concurrency control and a pub-sub messaging system that broadcasts and routes messages over named channels across the cluster. The platform covers wide-ranging capabilities including cluster management and orchestration, data replication with configurable quorums, and automated

    This is a distributed in-memory data grid and key-value store written in Go, which serves as a standalone service rather than a native Java caching library for integration into JVM applications.

    GoCache Eviction PoliciesIn-Memory CachesDistributed Data Grids
    View on GitHub↗3,469
  • lmcache/lmcacheLMCache avatar

    LMCache/LMCache

    6,909View on GitHub↗

    LMCache is a distributed key-value cache manager and tiering system designed to accelerate large language model inference. It functions as a tiered storage layer that offloads tensors from GPU memory to CPU RAM, local disks, or remote object stores, enabling the reuse of cached prefixes across different inference sessions and serving engines. The system differentiates itself through a disaggregated prefill-decode model, which separates prompt processing from token generation by transferring caches between distributed compute nodes. It utilizes peer-to-peer orchestration to share and retrieve

    This is a specialized distributed storage system for LLM inference tensors rather than a general-purpose Java caching library for application data.

    PythonCache Eviction PoliciesDistributed CachesDistributed Caching
    View on GitHub↗6,909
  • dragonflydb/dragonflydragonflydb avatar

    dragonflydb/dragonfly

    30,688View on GitHub↗

    Dragonfly is a high-performance, multi-model in-memory data store designed to serve as a drop-in replacement for existing database infrastructures. By utilizing a multi-threaded, shared-nothing architecture and a fiber-based concurrency model, it maximizes CPU utilization and minimizes latency for read and write operations. The system supports a wide range of data structures, including strings, hashes, lists, sets, sorted sets, and JSON documents, while maintaining full compatibility with standard industry wire protocols and client libraries. What distinguishes Dragonfly is its focus on effic

    Dragonfly is a high-performance, standalone in-memory data store and server, rather than a Java-native caching library that you would embed directly into your application code.

    C++Distributed Caching Engines
    View on GitHub↗30,688
  • redis/redisredis avatar

    redis/redis

    74,906View on GitHub↗

    Redis is an in-memory, key-value database designed to provide sub-millisecond latency for read and write operations. It functions as a versatile data platform, serving as a distributed cache, a message broker, a NoSQL document store, and a vector database. The system utilizes an event-driven, single-threaded loop to process requests efficiently, while maintaining data durability through append-only persistence logs and asynchronous snapshotting mechanisms. What distinguishes Redis is its ability to handle complex data structures—including strings, hashes, lists, sets, and sorted sets—alongsid

    Redis is a high-performance, distributed in-memory data store that functions as a cache, but it is a standalone server-side application rather than a Java-native caching library you would embed directly into your application code.

    CDistributed Caches
    View on GitHub↗74,906
  • tporadowski/redistporadowski avatar

    tporadowski/redis

    9,987View on GitHub↗

    Redis is a high-performance in-memory key-value store that functions as a distributed cache, message broker, and NoSQL database. It provides sub-millisecond read and write access to data stored in RAM and can operate as a vector database for indexing high-dimensional embeddings. The system supports a wide range of data storage and synchronization primitives, including the management of strings, hashes, lists, sets, and JSON documents. It enables real-time data operations through atomic transactions, hybrid persistence using snapshots and append-only logs, and high-availability configurations

    Redis is a high-performance, distributed in-memory data store that serves as a caching layer, but it is a standalone server application rather than a Java-native library that integrates directly into your application's memory space.

    CCache Eviction PoliciesDistributed CachesApplication Caching
    View on GitHub↗9,987
Compare the top 10 at a glance
RepositoryStarsLanguageLicenseLast push
ben-manes/caffeine17.7KJavaApache-2.0Jun 16, 2026
google/guava51.5KJavaApache-2.0Jun 15, 2026
hazelcast/hazelcast6.6KJavaNOASSERTIONJun 16, 2026
apache/ignite5.1KJavaApache-2.0Jun 16, 2026
redisson/redisson24.4KJavaApache-2.0Jun 17, 2026
memcached/memcached14.1KCbsd-3-clauseDec 16, 2025
kvcache-ai/mooncake5.6KC++Apache-2.0Jun 17, 2026
olric-data/olric3.5KGoApache-2.0Jun 12, 2026
lmcache/lmcache6.9KPythonapache-2.0Feb 20, 2026
dragonflydb/dragonfly30.7KC++NOASSERTIONJun 16, 2026

Related searches

  • a caching library for Go applications
  • a caching library for Go applications
  • a caching library for C# applications
  • a javascript library for caching data
  • a python library for caching function results
  • a library for managing Java application configuration
  • a java library for application metrics
  • a high performance serialization library for Java