Tag

Ehcache

1 views collected around this technical thread.

Java Captain
Java Captain
Apr 23, 2025 · Backend Development

Design and Selection of Local In‑Memory Caches for High‑Performance Service Architecture

This article explains the role of local in‑memory caches in high‑performance service architectures, compares implementations such as ConcurrentHashMap, Guava Cache, Caffeine, and Ehcache, discusses cache consistency and hit‑rate challenges, and recommends Caffeine as the preferred solution for multi‑level caching with Redis or Memcached.

EhcacheGuavaJava
0 likes · 11 min read
Design and Selection of Local In‑Memory Caches for High‑Performance Service Architecture
Selected Java Interview Questions
Selected Java Interview Questions
Apr 16, 2025 · Backend Development

Design and Selection of Local In-Memory Cache Solutions for High-Performance Services

An overview of two‑level caching architecture, the motivations for using local in‑memory caches, essential features of a local cache, comparative analysis of implementations using ConcurrentHashMap, Guava Cache, Caffeine, and Ehcache, and strategies for consistency, hit‑rate improvement, and practical code examples.

EhcacheGuavacaching
0 likes · 11 min read
Design and Selection of Local In-Memory Cache Solutions for High-Performance Services
Code Ape Tech Column
Code Ape Tech Column
Mar 22, 2024 · Backend Development

Comparison of Java Local Caching Solutions: Guava, Caffeine, and Ehcache

This article reviews three popular Java in‑process caching libraries—Guava, Caffeine, and Ehcache—explaining their configuration options, performance characteristics, monitoring capabilities, advantages and disadvantages, and provides a side‑by‑side comparison to help developers choose the most suitable local cache for their applications.

EhcacheGuavaJava
0 likes · 10 min read
Comparison of Java Local Caching Solutions: Guava, Caffeine, and Ehcache
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 14, 2023 · Backend Development

Master Spring Cache with JSR‑107 and Ehcache: A Step‑by‑Step Guide

This tutorial explains how to enable and use Spring Cache with annotations like @Cacheable, @CacheEvict, and @CachePut, integrates JSR‑107 and Ehcache, provides full Maven and configuration examples, and demonstrates caching behavior through a series of practical code snippets and tests.

EhcacheJSR-107Spring Boot
0 likes · 10 min read
Master Spring Cache with JSR‑107 and Ehcache: A Step‑by‑Step Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 3, 2023 · Backend Development

Master Spring Boot Caching with JSR‑107 and Ehcache: Step‑by‑Step Guide

Learn how to enable and configure transparent caching in Spring Boot 2.3 using JSR‑107 annotations and Ehcache, covering annotation usage, custom key generators, service and controller implementation, Maven dependencies, YAML and XML settings, and practical testing of cache put, get, and removal operations.

EhcacheJSR-107Java
0 likes · 8 min read
Master Spring Boot Caching with JSR‑107 and Ehcache: Step‑by‑Step Guide
Architecture Digest
Architecture Digest
Mar 14, 2023 · Backend Development

Design and Selection of Local In-Memory Cache Solutions for Two-Level Cache Architecture

An overview of two-level cache architecture explains why local in-memory caches are needed, outlines essential cache features, compares implementations using ConcurrentHashMap, Guava Cache, Caffeine, and Ehcache with code examples, and discusses consistency, hit-rate improvement, and technology selection, recommending Caffeine for best performance.

CacheEhcacheGuava
0 likes · 11 min read
Design and Selection of Local In-Memory Cache Solutions for Two-Level Cache Architecture
macrozheng
macrozheng
Jul 5, 2021 · Backend Development

Master Spring Cache: Simplify Caching Across Redis, Ehcache, and More

This article introduces Spring Cache as a unified caching solution that abstracts away the specifics of Redis, Ehcache, and other providers, explains its core concepts, annotations, configuration, and demonstrates practical usage with code examples to eliminate manual cache handling.

EhcacheJavaRedis
0 likes · 16 min read
Master Spring Cache: Simplify Caching Across Redis, Ehcache, and More
Wukong Talks Architecture
Wukong Talks Architecture
Jun 29, 2021 · Backend Development

Comprehensive Guide to Spring Cache: A Unified Caching Solution for Redis, Ehcache and Other Middleware

This article introduces Spring Cache as a framework‑agnostic caching abstraction that eliminates manual cache code, explains its core concepts, annotations, configuration options, and demonstrates practical usage with Redis and custom key, condition, and eviction strategies in Spring Boot applications.

CacheEhcacheJava
0 likes · 15 min read
Comprehensive Guide to Spring Cache: A Unified Caching Solution for Redis, Ehcache and Other Middleware
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 23, 2021 · Backend Development

Integrating Ehcache with Spring Boot: Configuration, Annotations, and CacheManager Usage

This tutorial explains how to integrate Ehcache into a Spring Boot application, covering Maven dependencies, YAML and XML configuration, enabling caching with @EnableCaching, using cache annotations, and manually operating caches via CacheManager, complete with code examples.

EhcacheJavaSpring Boot
0 likes · 9 min read
Integrating Ehcache with Spring Boot: Configuration, Annotations, and CacheManager Usage
Efficient Ops
Efficient Ops
Mar 13, 2018 · Backend Development

How a Three‑Tier Cache (Nginx + Redis + Ehcache) Boosts High‑Concurrency Systems

This article explains how a three‑layer caching architecture—combining Nginx, Redis, and Ehcache—along with template engines, double‑Nginx routing, persistence mechanisms, cluster setups, and various cache‑update strategies can dramatically improve hit rates, reduce database pressure, and prevent cache‑related failures in high‑traffic applications.

EhcacheNginxRedis
0 likes · 17 min read
How a Three‑Tier Cache (Nginx + Redis + Ehcache) Boosts High‑Concurrency Systems
Architecture Digest
Architecture Digest
Oct 12, 2017 · Backend Development

Cache Eviction Strategies and Java Cache Implementations

This article explains various cache eviction strategies, compares heap, off‑heap, disk and distributed cache types, and provides concrete Java implementations using Guava Cache, EhCache 3.x and MapDB with code examples and usage patterns such as Cache‑Aside and Cache‑As‑SoR.

CacheCache EvictionCache Patterns
0 likes · 18 min read
Cache Eviction Strategies and Java Cache Implementations
Qunar Tech Salon
Qunar Tech Salon
Sep 7, 2017 · Backend Development

Understanding Caching in Java with Spring Cache, Ehcache, and Redis

This article explains the concept of caching in Java, the importance of reducing database I/O, introduces Spring Cache annotations and their limitations, demonstrates conditional caching with code examples, and provides configuration details for integrating Ehcache and Redis as cache providers.

AnnotationsEhcacheJava
0 likes · 10 min read
Understanding Caching in Java with Spring Cache, Ehcache, and Redis