Tag

Cache

1 views collected around this technical thread.

Deepin Linux
Deepin Linux
May 22, 2025 · Operations

Understanding Buffers and Cache in Linux Memory Management

This article explains the concepts, working principles, and system parameters of Linux buffers and cache, compares their roles in read/write operations, and provides practical vmstat and dd command examples to illustrate how they affect memory usage and I/O performance.

BufferCacheLinux
0 likes · 19 min read
Understanding Buffers and Cache in Linux Memory Management
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 17, 2025 · Backend Development

Master Spring Boot Cache Management with Actuator: An End‑to‑End Guide

This article explains how to use Spring Boot Actuator to monitor and control Spring Cache, covering essential cache annotations, a complete CRUD example with caching, cache management endpoints, custom CacheManager configuration, and optional Redis integration for production‑grade caching.

ActuatorCacheJava
0 likes · 9 min read
Master Spring Boot Cache Management with Actuator: An End‑to‑End Guide
Cognitive Technology Team
Cognitive Technology Team
May 14, 2025 · Backend Development

Cache and Database Consistency: Strategies for Updating Order

This article examines common cache‑database consistency challenges and compares four update strategies—including write‑through, cache‑aside, and delayed double‑delete—to help backend developers choose the most suitable approach for maintaining data integrity in high‑traffic systems.

CacheData Synchronizationbackend
0 likes · 6 min read
Cache and Database Consistency: Strategies for Updating Order
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 10, 2025 · Backend Development

7 Advanced Spring Boot Cases: Resilience4j, Actuator, Cache & More

This article presents seven advanced Spring Boot topics—including Resilience4j circuit breaking, custom Actuator health checks, Saga-based distributed transactions, cache optimization, asynchronous processing, Gateway vs. Zuul, and OAuth2/JWT security—each illustrated with concise explanations, implementation steps, and code samples.

ActuatorAsyncCache
0 likes · 11 min read
7 Advanced Spring Boot Cases: Resilience4j, Actuator, Cache & More
Deepin Linux
Deepin Linux
May 2, 2025 · Fundamentals

Understanding CPU Cache, Memory Hierarchy, and Concurrency Control

This article explains the principles of CPU cache, the multi‑level memory hierarchy, virtual memory, data consistency, and concurrency control mechanisms, illustrating how they together bridge the speed gap between the fast processor and slower memory/storage in modern computer systems.

CPUCacheComputer Architecture
0 likes · 21 min read
Understanding CPU Cache, Memory Hierarchy, and Concurrency Control
Cognitive Technology Team
Cognitive Technology Team
Apr 18, 2025 · Operations

The Forbidden Maven Cache: 10 Ways to Break CI and How to Recover

This article explains how a corrupted Maven .m2 cache can sabotage builds and CI pipelines, outlines ten destructive Maven options with code examples, and provides practical recovery steps to restore reliable, reproducible builds.

BuildCacheDevOps
0 likes · 7 min read
The Forbidden Maven Cache: 10 Ways to Break CI and How to Recover
JD Tech Talk
JD Tech Talk
Apr 16, 2025 · Backend Development

Using Spring Cache Annotations for Efficient Redis‑Backed Caching in Java Applications

This article explains how to use Spring's built‑in cache annotations such as @EnableCaching, @Cacheable, @CachePut, and @CacheEvict to implement Redis‑backed caching in a Spring Boot application, covering configuration, core code, testing, and practical considerations for cache consistency and expiration.

AnnotationsCacheJava
0 likes · 16 min read
Using Spring Cache Annotations for Efficient Redis‑Backed Caching in Java Applications
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 11, 2025 · Backend Development

Master Multi‑Level Caching in Spring Boot 3 with Custom Annotations

Learn how to boost Spring Boot 3 application performance by implementing a multi‑level cache that combines local and Redis storage, using custom @MultiLevelCache annotations and AOP aspects, complete with cache clearing mechanisms, code examples, and testing instructions.

AOPAnnotationsCache
0 likes · 10 min read
Master Multi‑Level Caching in Spring Boot 3 with Custom Annotations
Raymond Ops
Raymond Ops
Apr 4, 2025 · Databases

Mastering Redis: Persistence, Cache Pitfalls, Data Types, Clustering & Locks

This article explains Redis persistence mechanisms (RDB and AOF), common cache problems and their solutions, the various Redis data structures and their use cases, cluster deployment options, master‑slave replication, transaction commands, and how to implement distributed locks with SETNX and expiration.

CacheClusteringData Types
0 likes · 13 min read
Mastering Redis: Persistence, Cache Pitfalls, Data Types, Clustering & Locks
JD Tech Talk
JD Tech Talk
Mar 27, 2025 · Backend Development

Deep Dive into Caffeine Cache: getIfPresent, ReadBuffer, and Maintenance Mechanisms

This article explains the inner workings of Caffeine's cache, covering the getIfPresent method, the design of ReadBuffer and StripedBuffer, eviction policies, the maintenance cycle, and the climb algorithm that dynamically adjusts window and protected partitions for optimal performance.

BufferCacheJava
0 likes · 31 min read
Deep Dive into Caffeine Cache: getIfPresent, ReadBuffer, and Maintenance Mechanisms
Top Architecture Tech Stack
Top Architecture Tech Stack
Feb 24, 2025 · Backend Development

Optimizing SpringBoot Startup Time: Analyzing and Reducing Bean Scanning and Initialization Overheads

This article investigates why a SpringBoot service takes 6‑7 minutes to start, identifies the costly bean‑scanning and bean‑initialization phases, and demonstrates how to speed up startup to around 40 seconds using custom SpringApplicationRunListener, BeanPostProcessor monitoring, JavaConfig selective bean registration, and cache auto‑configuration adjustments.

AutoConfigurationCachePerformance Optimization
0 likes · 20 min read
Optimizing SpringBoot Startup Time: Analyzing and Reducing Bean Scanning and Initialization Overheads
JD Tech
JD Tech
Feb 19, 2025 · Backend Development

Understanding the Design and Implementation of Caffeine Cache

This article provides a comprehensive walkthrough of Caffeine cache's architecture, explaining its fixed-size eviction policy, underlying data structures such as ConcurrentHashMap, MPSC buffers, Count‑Min Sketch frequency tracking, and the dynamic window‑probation‑protected zones, while detailing key methods like put, getIfPresent, and maintenance.

CacheCount-Min SketchJava
0 likes · 71 min read
Understanding the Design and Implementation of Caffeine Cache
JD Retail Technology
JD Retail Technology
Feb 7, 2025 · Backend Development

Cache Big‑Key and Hot‑Key Issues: Case Study, Root‑Cause Analysis, and Mitigation Strategies

A promotional event created an oversized Redis cache entry that, combined with cache‑penetration bursts, saturated network bandwidth and caused a service outage, prompting mitigation through Protostuff serialization, gzip compression, request throttling, and enhanced monitoring, while recommending design‑time cache planning and stress testing to prevent future big‑key failures.

CacheHotKeyRedis
0 likes · 9 min read
Cache Big‑Key and Hot‑Key Issues: Case Study, Root‑Cause Analysis, and Mitigation Strategies
macrozheng
macrozheng
Feb 5, 2025 · Backend Development

How to Cut Spring Boot Startup Time from 7 Minutes to 40 Seconds

This article explains why a SpringBoot service took 6‑7 minutes to start, shows how to pinpoint the bottlenecks using SpringApplicationRunListener and BeanPostProcessor, and presents concrete optimizations—reducing scan paths, manually registering beans, and fixing cache auto‑configuration—to shrink the local startup time to about 40 seconds.

Auto‑ConfigurationBeanPostProcessorCache
0 likes · 18 min read
How to Cut Spring Boot Startup Time from 7 Minutes to 40 Seconds
Lobster Programming
Lobster Programming
Feb 2, 2025 · Backend Development

How to Prevent Redis Cache Avalanche, Breakdown, and Penetration

This article explains the three major Redis cache issues—cache avalanche, cache breakdown, and cache penetration—how they can overload databases, and provides practical solutions such as high‑availability deployment, appropriate key expiration, local caches, mutex locks, empty‑object caching, request validation, and Bloom filters.

CacheRedisdatabase
0 likes · 5 min read
How to Prevent Redis Cache Avalanche, Breakdown, and Penetration
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 27, 2025 · Frontend Development

Handling Page Refresh and Cache Updates in Vue SPA with Vite

This article explains why users may still see outdated pages after a Vue SPA deployment, analyzes the caching issues caused by static asset headers, and provides both back‑end coordinated and pure front‑end solutions—including WebSocket, SSE, ETag polling, custom Vite plugins, and example code—to automatically detect and prompt updates.

CacheETagSSE
0 likes · 6 min read
Handling Page Refresh and Cache Updates in Vue SPA with Vite
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 7, 2025 · Backend Development

Cache Consistency: Pitfalls of Delayed Double Delete and Lease/Versioning Solutions with Redis

This article examines why many large‑scale systems avoid the traditional delayed double‑delete cache‑invalidation strategy, explains its critical drawbacks, and presents alternative lease‑based and version‑based approaches with Lua scripts and Java wrappers for Redis to achieve stronger consistency.

CacheJavaLua
0 likes · 17 min read
Cache Consistency: Pitfalls of Delayed Double Delete and Lease/Versioning Solutions with Redis
IT Services Circle
IT Services Circle
Dec 3, 2024 · Databases

Using Redis as a High‑Performance Cache Layer for MySQL‑Backed Services

The article explains how to alleviate MySQL bottlenecks in high‑traffic product services by introducing Redis as a local and remote cache, covering data structures, expiration policies, eviction strategies, persistence mechanisms, and a lightweight TCP protocol to achieve scalable, reliable performance.

CacheLRUMySQL
0 likes · 10 min read
Using Redis as a High‑Performance Cache Layer for MySQL‑Backed Services