Understanding Bloom Filters: Efficient Probabilistic Set Membership

Solving Cache Penetration Consider a typical product lookup service: public Product getProductById(Long id) { Product product = cache.get(id); if (product != null) { return product; } product = database.query(id); if (product != null) { cache.put(id, product); } return product; } If a product ID ...

Posted on Sun, 24 May 2026 19:43:02 +0000 by facets

Guava Cache: A High-Performance JVM-Level In-Memory Caching Library

Guava Cache is a robust, thread-safe in-memory caching library provided by Google's Guava toolkit. Built atop principles similar to ConcurrentHashMap, it extends core map functionality with rich cache-specific features—such as expiration, size constraints, automatic loading, and fine-grained concurrency control—while remaining lightweight and z ...

Posted on Tue, 12 May 2026 13:51:32 +0000 by waterox