awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
ben-manes avatar

ben-manes/caffeine

0
View on GitHub↗
17,706 Stars·1,695 Forks·Java·Apache-2.0·4 Aufrufe

Caffeine

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 most relevant information. To maintain high throughput under concurrent access, the system employs lock-free event processing and segmented storage to minimize contention.

Beyond its core storage capabilities, the library provides automated mechanisms for data loading and entry eviction based on size, time, or reference strength. It also includes built-in support for monitoring and observability, allowing developers to track hit and miss rates alongside eviction counts to inform memory management decisions.

Features

  • Caching Libraries - Provides a high-performance caching library for the Java virtual machine with automatic eviction and data loading.
  • Concurrent Caches - Provides a thread-safe data structure designed for high-concurrency environments to manage object lifecycles.
  • In-Memory Data Stores - Functions as a memory-resident storage mechanism that reduces application latency by caching objects in the heap.
  • Frequency-Based Admission - Uses a frequency-based sketch to decide whether new entries deserve a spot in the cache based on historical access patterns.
  • Automatic Cache Loaders - Populating cache entries automatically when a requested key is missing by executing a provided function to fetch the required value.
  • Caching - Caches frequently accessed data in memory to improve application performance by avoiding repeated expensive lookups.
  • In-Memory Caches - Stores frequently accessed objects in the application heap to reduce latency and avoid redundant computations.
  • Caching - High-performance, near-optimal caching library.
  • Caching Solutions - High-performance near-optimal caching library.
  • Data Structures and Memory - A high performance caching library for Java 8.
  • Caching - High-performance Java caching library with near-optimal eviction policies.
  • Cache Eviction Policies - Removes cache items automatically based on size limits, time-based expiration, or reference strength.
  • In-Memory Caching - Maintains in-memory caches to reduce latency and improve application performance.
  • Lock-Free Buffers - Buffers high-frequency write operations into a lock-free queue to minimize contention and maintain high throughput.
  • On-Demand Loaders - Populates cache entries automatically when a requested key is missing by executing a provided function.
  • Lazy Expiration - Cleans up expired entries during access to avoid background thread overhead and latency spikes.
  • Hash Tables - Organizes data into multiple independent hash segments to reduce lock contention and allow parallel access.
  • Cache Performance Metrics - Tracks hit and miss rates alongside eviction counts to gain visibility into memory usage and performance.

Star-Verlauf

Star-Verlauf für ben-manes/caffeineStar-Verlauf für ben-manes/caffeine

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu Caffeine

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Caffeine.
  • dgraph-io/ristrettoAvatar von dgraph-io

    dgraph-io/ristretto

    6,932Auf GitHub ansehen↗

    Ristretto is a high-performance in-memory cache and concurrent key-value store for Go applications. It provides a thread-safe memory store that manages strict memory bounds and employs probabilistic set filters to reduce lookup overhead. The system is distinguished by an admission-policy cache that utilizes frequency sketches and cost-based eviction to maximize hit ratios. It minimizes contention and improves throughput through the use of striped ring buffers and concurrent map sharding. The project covers a broad range of data management capabilities, including time-based expiration, item f

    Go
    Auf GitHub ansehen↗6,932
  • patrickmn/go-cacheAvatar von patrickmn

    patrickmn/go-cache

    8,828Auf GitHub ansehen↗

    go-cache is a thread-safe, in-memory cache library for Go that stores arbitrary objects with per-item expiration timestamps. It provides a concurrent key-value store where multiple goroutines can safely read and write shared cached data without external synchronization, using a mutex-guarded map for access control. The library distinguishes itself through its expiration management and optional disk persistence. Each cached item carries its own time-to-live, and a background goroutine periodically purges expired entries. The cache can serialize its entire contents to disk using Go's gob encodi

    Gocachegolibrary
    Auf GitHub ansehen↗8,828
  • memcached/memcachedAvatar von memcached

    memcached/memcached

    14,132Auf GitHub ansehen↗

    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

    C
    Auf GitHub ansehen↗14,132
  • tporadowski/redisAvatar von tporadowski

    tporadowski/redis

    9,987Auf GitHub ansehen↗

    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

    Credisredis-for-windowsredis-msi-installer
    Auf GitHub ansehen↗9,987
Alle 30 Alternativen zu Caffeine anzeigen→

Häufig gestellte Fragen

Was macht ben-manes/caffeine?

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.

Was sind die Hauptfunktionen von ben-manes/caffeine?

Die Hauptfunktionen von ben-manes/caffeine sind: Caching Libraries, Concurrent Caches, In-Memory Data Stores, Frequency-Based Admission, Automatic Cache Loaders, Caching, In-Memory Caches, Caching Solutions.

Welche Open-Source-Alternativen gibt es zu ben-manes/caffeine?

Open-Source-Alternativen zu ben-manes/caffeine sind unter anderem: dgraph-io/ristretto — Ristretto is a high-performance in-memory cache and concurrent key-value store for Go applications. It provides a… patrickmn/go-cache — go-cache is a thread-safe, in-memory cache library for Go that stores arbitrary objects with per-item expiration… memcached/memcached — Memcached is a high-performance, distributed, in-memory key-value storage and request routing engine. It functions as… tporadowski/redis — Redis is a high-performance in-memory key-value store that functions as a distributed cache, message broker, and NoSQL… google/guava — Guava is a Java standard library extension and utility toolkit that provides optimized data structures, concurrency… quarkusio/quarkus — Quarkus is a Kubernetes-native Java framework designed for building high-performance, memory-efficient applications.…