Tag

local cache

0 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.

CachingEhcacheGuava
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.

CachingEhcacheGuava
0 likes · 11 min read
Design and Selection of Local In-Memory Cache Solutions for High-Performance Services
Lobster Programming
Lobster Programming
Jan 20, 2025 · Backend Development

Boost High‑Concurrency Performance: When to Use Redis vs. Local Cache

This article explains why traditional relational databases falter under high‑concurrency loads, introduces caching as a solution, compares Redis distributed caching with local in‑process caching, and shows how combining them into a multi‑level cache can dramatically improve performance and reliability.

CachingPerformanceRedis
0 likes · 5 min read
Boost High‑Concurrency Performance: When to Use Redis vs. Local Cache
Sanyou's Java Diary
Sanyou's Java Diary
May 8, 2023 · Backend Development

Choosing the Right Cache: Local vs Distributed Strategies Explained

This article explores how caching accelerates high‑concurrency systems by reducing CPU and I/O load, compares local and distributed cache types, reviews Java cache implementations and frameworks, and presents real‑world multi‑level cache designs and pitfalls to help you select the optimal solution.

CachingJavaPerformance
0 likes · 12 min read
Choosing the Right Cache: Local vs Distributed Strategies Explained
政采云技术
政采云技术
Apr 25, 2023 · Backend Development

Cache System Overview, Architecture Evolution, Pain Points, and Best Practices

This article explains the fundamentals of cache systems, describes the evolution from no‑cache to distributed and local caches, analyzes common challenges such as consistency, hot‑key detection, and cache avalanche, and provides practical guidelines and real‑world lessons for designing effective backend caching solutions.

CachingRedisarchitecture
0 likes · 14 min read
Cache System Overview, Architecture Evolution, Pain Points, and Best Practices
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.

EhcacheGuavaJava
0 likes · 11 min read
Design and Selection of Local In-Memory Cache Solutions for Two-Level Cache Architecture
Laravel Tech Community
Laravel Tech Community
Dec 14, 2022 · Backend Development

Understanding Caching: Concepts, Types, and Multi‑Level Cache Architecture

This article explains the fundamentals of caching, why caches (especially Redis) are essential for high‑performance and high‑concurrency scenarios, compares local, distributed, and multi‑level caches, and outlines their advantages, disadvantages, and typical implementation approaches.

CachingPerformancebackend
0 likes · 7 min read
Understanding Caching: Concepts, Types, and Multi‑Level Cache Architecture
Top Architect
Top Architect
Dec 14, 2022 · Backend Development

Cache Basics: Concepts, Types, Advantages, and Implementation Strategies

This article explains the fundamentals of caching, why caches (especially Redis) are essential for high‑performance and high‑concurrency scenarios, describes local, distributed, and multi‑level cache architectures, outlines their pros and cons, and provides practical implementation guidance.

CachingRedisdistributed cache
0 likes · 10 min read
Cache Basics: Concepts, Types, Advantages, and Implementation Strategies
Selected Java Interview Questions
Selected Java Interview Questions
Dec 2, 2022 · Backend Development

Understanding Cache: Concepts, Types, and Implementation in Backend Development

This article explains the fundamentals of caching, why caches like Redis are essential for high‑performance and high‑concurrency backend systems, and compares local, distributed, and multi‑level cache architectures, including their advantages, drawbacks, and typical implementation approaches.

CachingPerformanceRedis
0 likes · 9 min read
Understanding Cache: Concepts, Types, and Implementation in Backend Development
Architect's Guide
Architect's Guide
Sep 4, 2022 · Backend Development

Understanding Caching: Types, Use‑Cases, and Implementation in Backend Systems

This article explains the concept of caching, compares it with buffering, outlines common scenarios such as memory, SSD, static, distributed and local caches, discusses their advantages and limitations, and provides a Java Guava Cache example for practical backend performance optimization.

CachingPerformancebackend
0 likes · 12 min read
Understanding Caching: Types, Use‑Cases, and Implementation in Backend Systems
Selected Java Interview Questions
Selected Java Interview Questions
Jun 29, 2022 · Backend Development

Redis Lazy Loading Cache with Guava Local Cache: Design, Implementation, and Evaluation

This article explains how to combine Redis lazy‑loading caching with Guava local cache in Java, presenting design diagrams, full code examples, and a discussion of the advantages, disadvantages, and suitable scenarios for this hybrid caching strategy.

CachingGuavaJava
0 likes · 9 min read
Redis Lazy Loading Cache with Guava Local Cache: Design, Implementation, and Evaluation
Tencent Cloud Developer
Tencent Cloud Developer
Apr 21, 2022 · Backend Development

Local Cache Solutions in Golang: A Comprehensive Guide to Open-Source Components

The guide reviews the essential requirements for Go local caching and compares seven open‑source caches—freecache, bigcache, fastcache, offheap, groupcache, ristretto, and go‑cache—while detailing the sharded, lock‑reduced designs of freecache, bigcache, fastcache, and offheap, and explains how off‑heap allocation or pointer‑free maps achieve near zero‑GC performance.

Backend DevelopmentBigCacheFastcache
0 likes · 10 min read
Local Cache Solutions in Golang: A Comprehensive Guide to Open-Source Components
NetEase Yanxuan Technology Product Team
NetEase Yanxuan Technology Product Team
Apr 6, 2022 · Backend Development

Server-Side Caching: Local, Distributed, and Multi-Level Cache Architecture Practices

Server‑side caching improves performance by trading space for time, using local caches like HashMap, Guava, Ehcache, and Caffeine, distributed caches such as Redis, and multi‑level architectures that combine in‑process, distributed, and database layers, while employing consistency patterns, monitoring, and hot‑key detection.

Cache ConsistencyCachingHot Key Detection
0 likes · 16 min read
Server-Side Caching: Local, Distributed, and Multi-Level Cache Architecture Practices
IT Architects Alliance
IT Architects Alliance
Jul 24, 2021 · Backend Development

Transparent Multilevel Cache (TMC): Architecture, Hotspot Detection, and Local Cache Implementation

The article introduces Youzan's Transparent Multilevel Cache (TMC), detailing its three‑layer architecture, hotspot detection and local caching mechanisms, integration approaches for Java applications, stability and consistency features, and performance results from real‑world e‑commerce campaigns.

Distributed SystemsJavaMultilevel Cache
0 likes · 13 min read
Transparent Multilevel Cache (TMC): Architecture, Hotspot Detection, and Local Cache Implementation
Selected Java Interview Questions
Selected Java Interview Questions
Jul 13, 2021 · Backend Development

Transparent Multilevel Cache (TMC): Architecture, Hotspot Detection, and Local Cache for High‑Performance Applications

The article introduces Transparent Multilevel Cache (TMC), a Youzan PaaS solution that adds application‑level hotspot detection, local caching, and hit‑rate statistics to distributed caches, explains its architecture, workflow, consistency guarantees, and shows performance improvements during high‑traffic events.

Distributed SystemsJavaPerformance
0 likes · 14 min read
Transparent Multilevel Cache (TMC): Architecture, Hotspot Detection, and Local Cache for High‑Performance Applications
New Oriental Technology
New Oriental Technology
Jun 17, 2021 · Backend Development

Cache Basics, Types, Patterns, and Common Issues

This article explains why caching is used, distinguishes between local and distributed caches, compares popular Java cache libraries, describes Redis and Memcached differences, outlines the Cache‑Aside pattern, and discusses common cache problems such as inconsistency, penetration, breakdown, avalanche, hot‑key detection, and their mitigation strategies.

CachingJavaPerformance
0 likes · 15 min read
Cache Basics, Types, Patterns, and Common Issues
Top Architect
Top Architect
Jun 7, 2021 · Backend Development

Transparent Multilevel Cache (TMC): Architecture, Hotspot Detection, and Local Cache Implementation

The article presents the design and implementation of Transparent Multilevel Cache (TMC), a three‑layer caching solution that adds hotspot detection and local cache to reduce distributed cache pressure, explains its transparent Java integration, describes the sliding‑window hotspot discovery pipeline, and showcases performance gains in real‑world e‑commerce campaigns.

Distributed SystemsJavaPerformance
0 likes · 14 min read
Transparent Multilevel Cache (TMC): Architecture, Hotspot Detection, and Local Cache Implementation
IT Architects Alliance
IT Architects Alliance
May 30, 2021 · Backend Development

Transparent Multilevel Cache (TMC): Architecture, Hotspot Detection, and Local Cache Implementation

The article introduces Transparent Multilevel Cache (TMC), a comprehensive caching solution that adds hotspot detection and local caching to existing distributed cache systems, explains its three‑layer architecture, transparent Java integration, real‑time hotspot discovery process, and demonstrates performance gains in high‑traffic e‑commerce scenarios.

Distributed SystemsJavaPerformance
0 likes · 13 min read
Transparent Multilevel Cache (TMC): Architecture, Hotspot Detection, and Local Cache Implementation
DeWu Technology
DeWu Technology
May 14, 2021 · Backend Development

Local and Distributed Caching: Concepts and Implementations

In high‑traffic e‑commerce systems, caching—ranging from simple in‑JVM HashMap caches to Guava, Caffeine, and Redis distributed stores—reduces latency by applying eviction policies such as FIFO, LRU, LFU, or W‑TinyLFU, while employing consistency strategies like expiration, write‑through, and cache‑aside to mitigate breakdown, avalanche, and penetration issues.

CachingGuavaJava
0 likes · 20 min read
Local and Distributed Caching: Concepts and Implementations
vivo Internet Technology
vivo Internet Technology
Apr 21, 2021 · Backend Development

Understanding and Configuring Caffeine Cache in Java Applications

Understanding Caffeine Cache in Java involves using its builder for options like expiration, refresh, and weight‑based eviction, recognizing that configuring both expireAfterWrite and expireAfterAccess is redundant, grasping core methods such as isBounded, refreshes, computeIfAbsent, and avoiding common pitfalls like mis‑ordered expiration settings, blocking loaders, cache penetration, and mutable cached objects.

Cache ConfigurationCache EvictionCaffeine Cache
0 likes · 15 min read
Understanding and Configuring Caffeine Cache in Java Applications