CIOPages
DirectoryData & AnalyticsDatabase PlatformsCaffeine

Caffeine

Open SourceFunded

High performance, near optimal caching library for Java applications

Visit Website

About Caffeine

Caffeine is an advanced, high-performance caching library designed for Java applications, providing in-memory caching capabilities that optimize data retrieval and improve application responsiveness. It is inspired by Google Guava's cache but offers enhanced features such as size-based eviction, time-based expiration, asynchronous refresh, and automatic loading of cache entries. The library supports weak and soft references for keys and values, allowing efficient memory management and preventing memory leaks.

Targeted primarily at enterprise Java developers and architects, Caffeine enables the creation of flexible, scalable caching solutions that reduce database load and latency. Its API is designed for ease of integration with existing Java applications, making it suitable for large-scale systems requiring robust caching mechanisms. The library's ability to accumulate cache access statistics and notify on evictions further supports performance tuning and monitoring in complex environments.

Key Capabilities

  • Automatic loading and asynchronous cache refresh
  • Size-based eviction with frequency and recency policies
  • Time-based expiration after access or write
  • Support for weak and soft references
  • Cache access statistics and eviction notifications

Integrations

Java applicationsGoogle Guava API compatibilityJCache (JSR-107) support

This profile was compiled by CIOPages from public sources with AI assistance, and may be incomplete or out of date. It is informational only and not an endorsement. Represent this vendor? or .

Quick Facts

github.com/ben-manes/caffeine
CategoryData & Analytics
SubcategoryDatabase Platforms
PricingOpen Source
DeploymentOpen Source
Target SizeEnterprise