Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

This page's audience our own tag's counts — open to see them
–Visits
–Page views
–Clicks to vendors
–Time on page
–Reading now
Clicks to vendors, by tool
  • –
Top countries
  • –
Devices
  • –

– · visits, page views and clicks counted by our own tag, which counts more than our checked analytics; every figure rounded down · how we count

cache2k

Free#24 of 27 in Caching Software

cache2k: A focused, open-source Java cache with JCache compatibility and advanced loading controls. Ranked #24 of 27 in Caching Software by our editors (6.7/10); pricing: Open source; best for java object caching with JCache compatibility.

6.7/10Editor score
cache2k6.7 Visit cache2k

At a glance

  • Editor score
    6.7 / 10
  • Pricing
    Open source
  • Best for
    Java object caching with JCache compatibility
  • Paid from
    Free
  • Deployment
    Self_hosted
  • Facts checked
    21 Sep 2026
cache2k screenshot
  • Where it wins

    • Open-source Java object caching with configurable capacity and eviction
    • Refresh-ahead, read-through loading, atomic operations, and resilience policies
    • JCache compatibility plus Spring, Hibernate, JMX, and Micrometer integrations
  • Where it doesn't

    • Focused on Java application objects rather than broader caching targets
    • Self-hosted Java dependency rather than a hosted caching service
    • Does not provide data persistence or AI features

Our verdict on cache2k

cache2k is an open-source, in-memory object caching library for Java applications. It is designed for teams embedding a cache directly into Java software, with a programmatic API for configurable entry capacity, eviction, expiry policies, refresh-ahead loading, atomic operations, resilience policies, statistics, and event listeners. The project is distributed as Java dependencies for self-hosted application deployment, making it a focused fit for Java object caching rather than a general-purpose hosted cache service.

Its strongest area is cache behavior control. cache2k supports read-through loading with CacheLoader, refresh-ahead loading, exception handling, cache writers, and atomic cache operations. These capabilities give developers several ways to manage expiry, loading, updates, and failure behavior within the application cache. Statistics with JMX support add operational visibility, while XML-based configuration offers an alternative to programmatic setup. For Java teams that need more than simple key-value storage, this feature depth is a meaningful advantage.

The ecosystem fit is also practical for established Java stacks. Integrations include Spring Framework, Scala Cache, Datanucleus, Hibernate, JCache/JSR107, JMX, and Micrometer. JCache compatibility can help applications align with the JSR107 caching API, while the additional integrations connect cache2k with common Java frameworks and monitoring tooling. Its boundaries are clear: cache2k targets Java application objects, does not provide data persistence, and is self-hosted rather than managed. Choose it when an embedded Java cache with configurable policies and JCache compatibility matches the architecture. Consider an alternative when the requirement is a hosted service, persistent caching, or caching beyond Java application objects.

Your product? Our editors can test cache2k in depth and publish a review, labelled as paid · from $149/mo →

cache2k pricing

Plans Open sourceFree Free to use — no paid tier required for the core job.
See plans on cache2k.org

cache2k fact sheet

Free planNot verified
Paid fromFree
DeploymentSelf_hosted
Cache targetsJava application objects
Edge cachingNot verified
Data persistenceNo
High availabilityNot verified
Supported cache enginescache2k; JCache/JSR107
DeploymentSelf-hosted
SupportCommunity, Docs, Tickets
Built forSolo, Small business, Mid-market, Enterprise (editorial estimate)
Integrations7 integrations: Spring Framework, Scala Cache, Datanucleus, Hibernate, JCache/JSR107, JMX …
PricingOpen source
Websitecache2k.org
Facts checked21 Sep 2026

cache2k integrations

cache2k lists 7 integrations on its own site.

  • Spring Framework
  • Scala Cache
  • Datanucleus
  • Hibernate
  • JCache/JSR107
  • JMX
  • Micrometer

Alternatives to cache2k

See all cache2k alternatives →

Used cache2k? Be the first to review it

The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used cache2k for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.

Write a reviewTwo minutes · verified accounts only · read by an editor before it appears

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — cache2k 6.7/10

cache2k is listed in our Caching Software directory. Add the badge to your site — it links back to this page.

<a href="https://www.itechguides.com/products/cache2k/"><img src="https://www.itechguides.com/best/badge/cache2k.svg" alt="Featured on iTechGuides" width="230" height="46"></a>

Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026

Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.

Last updated · How we research and update