# ehcache/ehcache3

Ehcache 3.x line

Repository: https://github.com/ehcache/ehcache3
Canonical: https://ross.abutalabs.com/products/ehcache3
Homepage: http://www.ehcache.org
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2026-05-04T15:40:58+00:00

## Health v2 (maintenance only)
Score: 72/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 80, release rhythm 46, longevity 100
- inputs: {"age_days": 4571, "days_push": 121, "days_rel": 363, "gap_med": 6, "n_releases_24m": 2}
- flags: no_readme
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2085, forks 582 (observed 2026-08-28T04:06:11.887489+00:00)

## What it is
Ehcache 3 is Java's most widely-used open-source caching library, offering a type-safe API, full JSR-107 (JCache) compliance, and tiered storage from heap to offheap to out-of-process. It integrates out of the box with Spring Caching and Hibernate and scales to terabyte-sized caches with Terracotta clustering.

## Use cases
- cache database queries in a Java application
- add JCache/JSR-107 caching to Spring or Hibernate
- store cache data offheap to reduce GC pressure
- cluster caches across JVMs with Terracotta
- implement write-through and write-behind caching
- set cache expiry and eviction policies

## When to choose
- you need a mature, standards-compliant JVM cache with Spring/Hibernate integration
- you want tiered heap/offheap/disk storage in-process
- you need JCache (javax.cache) provider support

## When to avoid
- you need a standalone distributed cache server like Redis or Memcached
- your stack is not on the JVM
- you need multi-language client support

## Facets
- artifact type: library
- maturity: stable
- function: caching
- domain: backend, developer-tools, performance
- platform: jvm, cross-platform
- tags: jcache, jsr-107, offheap-storage, spring-cache, hibernate, terracotta, distributed-cache

## Member repositories
- ehcache/ehcache3 (main) score 72

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:11.887489+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:55:50.331097+00:00, confidence not recorded.
  - homepage: http://www.ehcache.org (fetched 2026-08-29T10:35:51.857474+00:00, sha b2323faf3ef2)
  - site_page: https://www.ehcache.org/about (fetched 2026-08-29T10:35:51.861063+00:00, sha 7405fc377a10)
  - site_page: https://www.ehcache.org/documentation (fetched 2026-08-29T10:35:51.862704+00:00, sha 84bd16312a42)
  - site_page: https://www.ehcache.org/documentation/3.11 (fetched 2026-08-29T10:35:51.864196+00:00, sha 07cd81bbdd0d)
  - site_page: https://www.ehcache.org/generated/2.10.0/html/ehc-all (fetched 2026-08-29T10:35:51.865716+00:00, sha cd4ad8319df4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
