Tagged articles
517 articles
Page 1 of 6
Architect Chen
Architect Chen
Apr 29, 2026 · Backend Development

The Ultimate Redis Guide: In‑Depth Overview of Architecture, Data Types, and Advanced Features

This comprehensive Redis guide covers its role as a core component in large‑scale architectures, explains common use cases, walks through installation and configuration options, details all primary data structures with commands and examples, and explores persistence, transactions, Lua scripting, replication, Sentinel, and cluster modes.

CacheClusterData Structures
0 likes · 18 min read
The Ultimate Redis Guide: In‑Depth Overview of Architecture, Data Types, and Advanced Features
Code Mala Tang
Code Mala Tang
Apr 25, 2026 · Artificial Intelligence

Why Claude Feels Nerfed Without a Formal Downgrade: A Deep Dive into System‑Level Performance Changes

The article examines the recent Claude performance controversy, showing that engineering adjustments to inference parameters, cache handling, and system prompts rewrote the model’s behavior, making it answer faster but think shallower, leading users to perceive a degradation despite no official model downgrade.

AICacheClaude
0 likes · 14 min read
Why Claude Feels Nerfed Without a Formal Downgrade: A Deep Dive into System‑Level Performance Changes
java1234
java1234
Apr 18, 2026 · Backend Development

Beyond Simple Caching: 8 Essential Redis Use Cases for Java Backend Engineers

This guide walks Java backend developers through Redis’s eight core scenarios—caching, distributed locks, rate limiting, session sharing, leaderboards, counters, message and delay queues, bitmap statistics, and geolocation—providing complete code, diagrams, and production‑grade best practices.

BitmapCacheGEO
0 likes · 21 min read
Beyond Simple Caching: 8 Essential Redis Use Cases for Java Backend Engineers
Deepin Linux
Deepin Linux
Apr 12, 2026 · Fundamentals

Why TLB Matters: Unlocking Linux Kernel Performance

This article explains the role of the Translation Lookaside Buffer (TLB) in Linux virtual‑memory translation, covering basic address concepts, page‑table mechanics, TLB operation, flush and synchronization strategies, hardware vs software management, Linux kernel APIs, and a practical C benchmark comparing sequential and random memory accesses.

CacheOperating SystemsPerformance Optimization
0 likes · 36 min read
Why TLB Matters: Unlocking Linux Kernel Performance
Java Architect Handbook
Java Architect Handbook
Apr 4, 2026 · Backend Development

16 Powerful Redis Use Cases Every Backend Engineer Should Know

This article presents a comprehensive guide to 16 practical Redis applications—including caching, distributed sessions, locks, global IDs, counters, rate limiting, bitmaps, shopping carts, timelines, queues, lotteries, likes, product tagging, filtering, social graphs, and leaderboards—complete with command examples, code snippets, and visual illustrations to help developers implement these patterns efficiently.

BitmapCacheShopping Cart
0 likes · 11 min read
16 Powerful Redis Use Cases Every Backend Engineer Should Know
Architecture Digest
Architecture Digest
Apr 3, 2026 · Databases

16 Powerful Ways to Leverage Redis in Your Applications

This article presents a comprehensive guide to 16 practical Redis use cases—including caching, distributed locks, global IDs, counters, rate limiting, bitmaps, shopping carts, timelines, message queues, lotteries, likes, product tagging, filtering, follow‑recommendation models, and ranking—complete with code snippets and data‑structure examples.

CacheData StructuresMessage Queue
0 likes · 10 min read
16 Powerful Ways to Leverage Redis in Your Applications
Tech Musings
Tech Musings
Apr 3, 2026 · Operations

How to Cut Rust Docker Build Times from Minutes to Seconds with Cargo‑Chef

This article analyzes why Docker builds of Rust projects on Ubuntu get stuck updating the crates.io index for several minutes, explains Docker layer cache invalidation and BuildKit differences, and presents a reliable cargo‑chef based Dockerfile that reduces build time to seconds.

Build OptimizationBuildKitCache
0 likes · 10 min read
How to Cut Rust Docker Build Times from Minutes to Seconds with Cargo‑Chef
Ray's Galactic Tech
Ray's Galactic Tech
Mar 25, 2026 · Backend Development

Mastering Ristretto: High‑Performance Go Cache from Theory to Production

This guide provides an in‑depth, architect‑level walkthrough of Ristretto, the high‑throughput Go cache, covering TinyLFU fundamentals, internal components, parameter tuning, production‑grade wrappers, multi‑level cache design, monitoring, capacity planning, common pitfalls, and real‑world code examples for robust deployment.

BackendCacheDistributedSystems
0 likes · 29 min read
Mastering Ristretto: High‑Performance Go Cache from Theory to Production
Architect's Guide
Architect's Guide
Mar 19, 2026 · Backend Development

Boost API Speed 10× with a Three‑Level Cache Pyramid in Spring Boot 3

This article explains why adding Redis alone may still be slow, introduces a three‑level cache pyramid (Caffeine L1, Redis L2, DB L3) built with Spring Boot 3, and provides complete configuration, code, warm‑up, monitoring, and benchmark results that reduce response time from 28 ms to 2 ms while cutting CPU usage by 35%.

CacheCaffeineJava
0 likes · 9 min read
Boost API Speed 10× with a Three‑Level Cache Pyramid in Spring Boot 3
Woodpecker Software Testing
Woodpecker Software Testing
Feb 28, 2026 · Operations

Boost Large Language Model Testing Performance: Essential Strategies for Test Engineers

The article outlines four engineering‑driven approaches—layered test granularity, cache‑driven golden sample pools, lightweight evaluation proxies, and test‑as‑code with resource‑aware scheduling—to dramatically cut LLM testing latency, improve reliability, and lower costs, illustrated with real‑world banking, government, and medical case studies.

CacheEvaluation ProxyPerformance Optimization
0 likes · 8 min read
Boost Large Language Model Testing Performance: Essential Strategies for Test Engineers
Coder Trainee
Coder Trainee
Feb 17, 2026 · Backend Development

How @CachePut Updates Cache in Spring Cache

The article explains that @CachePut serves as a trigger to update or add cache entries in Spring Cache, contrasting its behavior with @Cacheable, detailing execution flow, handling of null results, and the recommendation against using both annotations on the same method.

@CachePut@CacheableBackend
0 likes · 3 min read
How @CachePut Updates Cache in Spring Cache
Coder Trainee
Coder Trainee
Feb 14, 2026 · Backend Development

Using RedisTemplate to Manage String and Hash Data in Spring

This article demonstrates how to encapsulate common RedisTemplate operations—such as deleting single or multiple keys, setting expiration, checking existence, and performing String and Hash CRUD actions—by providing concrete Java code examples and step‑by‑step method implementations.

CacheHashJava
0 likes · 4 min read
Using RedisTemplate to Manage String and Hash Data in Spring
java1234
java1234
Feb 3, 2026 · Backend Development

Boost API Latency 10× with Spring Boot 3 and a Local Cache Pyramid

The article demonstrates how to achieve a ten‑fold reduction in API response time by building a three‑level cache pyramid (Caffeine L1, Redis L2, DB L3) in Spring Boot 3, covering dependencies, configuration, core template code, warm‑up, monitoring, load‑test results and common high‑concurrency pitfalls.

CacheCaffeineJava
0 likes · 8 min read
Boost API Latency 10× with Spring Boot 3 and a Local Cache Pyramid
Code Wrench
Code Wrench
Jan 21, 2026 · Backend Development

Mastering Cache Eviction in Go: When and How to Use LRU

This article explains why naive cache eviction fails, why LRU is the go‑to strategy for many Go projects, and provides a production‑ready LRU implementation with detailed code, lock‑granularity tips, key design considerations, and scenarios where LRU is not suitable.

CacheGoLRU
0 likes · 9 min read
Mastering Cache Eviction in Go: When and How to Use LRU
Xiaohongshu Tech REDtech
Xiaohongshu Tech REDtech
Jan 19, 2026 · Databases

How Merged Seckill Boosts MySQL Write Throughput 5× for High‑Traffic E‑Commerce

The article details a MySQL kernel‑level merged‑seckill optimization that replaces traditional queue‑based flash‑sale handling, achieving up to 5.5× higher TPS (up to 23,543 TPS on 128 threads) and sustaining 1.5W+ orders per second, while remaining transparent to applications and preserving compatibility with existing SQL.

CacheLockPerformance Optimization
0 likes · 11 min read
How Merged Seckill Boosts MySQL Write Throughput 5× for High‑Traffic E‑Commerce
Java Architect Handbook
Java Architect Handbook
Jan 10, 2026 · Backend Development

Boost API Speed 14× with a 3‑Level Cache Pyramid in Spring Boot

By combining a local Caffeine cache, a remote Redis layer, and a MySQL database into a three‑tier cache pyramid, this guide shows how to reduce API response time from 28 ms to 2 ms, cut CPU usage by 35 %, and achieve up to 14‑fold performance gains, complete with configuration, code, and monitoring tips.

CacheCaffeinePerformance Optimization
0 likes · 12 min read
Boost API Speed 14× with a 3‑Level Cache Pyramid in Spring Boot
java1234
java1234
Jan 6, 2026 · Backend Development

Boost API Latency 10× with Spring Boot 3 and a Three‑Level Local Cache Pyramid

The article explains why adding Redis alone often remains slow, introduces a three‑level cache pyramid (L1 Caffeine, L2 Redis, L3 MySQL) built with Spring Boot 3, and shows how this design reduces request latency from 28 ms to 2 ms, cuts CPU usage by 35 % and achieves up to 14‑fold throughput improvement.

CacheCaffeineJava
0 likes · 10 min read
Boost API Latency 10× with Spring Boot 3 and a Three‑Level Local Cache Pyramid
Java Companion
Java Companion
Jan 4, 2026 · Backend Development

Achieve 10× Faster APIs with Spring Boot 3’s Three‑Level Cache Pyramid

The article demonstrates how to combine Spring Boot 3, Caffeine local cache, and Redis into a three‑level cache pyramid, reducing API response time from 28 ms to 2 ms, cutting CPU usage by 35 %, and providing detailed configuration, code examples, performance benchmarks, and mitigation strategies for common high‑concurrency pitfalls.

CacheCaffeineJava
0 likes · 10 min read
Achieve 10× Faster APIs with Spring Boot 3’s Three‑Level Cache Pyramid
Su San Talks Tech
Su San Talks Tech
Dec 9, 2025 · Backend Development

Choosing the Right Local Cache: From ConcurrentHashMap to Caffeine

This article explains why local caches are essential in high‑performance services, outlines required cache features, compares four Java‑based local cache implementations (ConcurrentHashMap, Guava Cache, Caffeine, Ehcache), and offers practical solutions for consistency, hit‑rate improvement, and technology selection.

Backend DevelopmentCacheCaffeine
0 likes · 12 min read
Choosing the Right Local Cache: From ConcurrentHashMap to Caffeine
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Nov 24, 2025 · Backend Development

How to Prevent Cache Penetration in High‑Concurrency Systems

The article explains what cache penetration is in high‑concurrency architectures, why it occurs, and presents four practical mitigation strategies—including caching empty values, using Bloom filters, validating request data, and applying rate‑limiting—to protect backend databases from overload.

Cachebloom-filtercache-penetration
0 likes · 6 min read
How to Prevent Cache Penetration in High‑Concurrency Systems
DeWu Technology
DeWu Technology
Nov 19, 2025 · Databases

How Our Self‑Built Redis Evolved: Architecture, SDK, and Performance Gains

This article details the three‑year evolution of a self‑built Redis service, covering its massive scale, architectural redesign, migration from LB to a custom DRedis SDK, same‑city active‑active near‑read support, Redis‑server version upgrades, instance specifications, proxy rate‑limiting, and extensive automation that together boost performance while cutting costs.

AutomationCacheSDK
0 likes · 17 min read
How Our Self‑Built Redis Evolved: Architecture, SDK, and Performance Gains
Code Wrench
Code Wrench
Nov 18, 2025 · Cloud Native

How Kubernetes Informers Power Real‑Time, Low‑Cost Cluster Event Handling

This article explains why Kubernetes relies on Informers—detailing their internal components, how they transform massive API Server events into efficient local caches, and providing step‑by‑step Go code examples that reveal the architecture behind Kubernetes' high‑throughput, event‑driven design.

CacheControllerGo
0 likes · 8 min read
How Kubernetes Informers Power Real‑Time, Low‑Cost Cluster Event Handling
Cognitive Technology Team
Cognitive Technology Team
Nov 17, 2025 · Backend Development

How a 1.5 MB Redis Key Crashed an Entire Site and How to Prevent It

A real‑world incident at JD Tech shows that a single 1.5 MB Redis cache key caused a full‑site outage during a high‑traffic event, and the article explains the underlying cache‑breakdown and bandwidth traps, then details three emergency mitigations and long‑term preventive practices.

CacheCache Designperformance
0 likes · 7 min read
How a 1.5 MB Redis Key Crashed an Entire Site and How to Prevent It
Ray's Galactic Tech
Ray's Galactic Tech
Nov 9, 2025 · Databases

Mastering Redis Expiration: Strategies, Java Implementation, and Best Practices

Redis uses multiple expiration and eviction mechanisms—including lazy deletion, periodic scanning, and memory eviction—to balance performance and memory usage, and this guide explains each strategy, shows how to configure them, and provides Java/Jedis code examples for setting TTLs, handling large objects, preventing cache avalanches, and monitoring stats.

CacheExpirationJava
0 likes · 7 min read
Mastering Redis Expiration: Strategies, Java Implementation, and Best Practices
Java Backend Technology
Java Backend Technology
Nov 4, 2025 · Backend Development

10 Essential Spring Boot Features Every Developer Should Master

This comprehensive guide explores the most powerful Spring Boot capabilities—including @Conditional, @ConfigurationProperties, Actuator, DevTools, Retry, Cache, testing strategies, custom starters, Admin, and CLI—providing code examples and deep analysis to help developers boost productivity, reliability, and maintainability of their applications.

ActuatorCacheConditional
0 likes · 20 min read
10 Essential Spring Boot Features Every Developer Should Master
JD Cloud Developers
JD Cloud Developers
Oct 30, 2025 · Backend Development

How a Massive Cache Key Crashed a Double‑11 System and How to Prevent It

During a Double‑11 promotion, an oversized Redis cache key caused a cascade of failures—cache miss, network bandwidth saturation, and a full‑blown cache avalanche—prompting the team to implement big‑key mitigation, compression, lock‑based cache back‑source, and monitoring measures to safeguard future deployments.

BackendBig KeyCache
0 likes · 8 min read
How a Massive Cache Key Crashed a Double‑11 System and How to Prevent It
Code Wrench
Code Wrench
Oct 25, 2025 · Backend Development

Mastering Go Local Cache: TTL, Sharded LRU, Singleflight & Async Refresh

This article walks through a production‑grade Go local cache implementation, covering TTL and LRU fundamentals, sharded concurrency, singleflight protection, asynchronous refresh, capacity control, persistence, performance testing, and real‑world usage scenarios.

CacheGoLRU
0 likes · 9 min read
Mastering Go Local Cache: TTL, Sharded LRU, Singleflight & Async Refresh
Ray's Galactic Tech
Ray's Galactic Tech
Oct 17, 2025 · Backend Development

Prevent Redis Cache Avalanche, Penetration & Breakdown: A Practical High‑Availability Guide

This guide explains the three major Redis cache failure patterns—avalanche, penetration, and breakdown—detailing their causes and offering concrete mitigation techniques such as staggered TTLs, empty‑object caching, Bloom filters, logical expiration, distributed locks, high‑availability clusters, and comprehensive monitoring to ensure robust high‑availability systems.

Cachecache-avalanchecache-breakdown
0 likes · 7 min read
Prevent Redis Cache Avalanche, Penetration & Breakdown: A Practical High‑Availability Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 14, 2025 · Backend Development

5 Common Redis Cache Anti‑Patterns and How to Fix Them

This article examines five frequent Redis cache anti‑patterns—cache avalanche, unbounded local cache, stale data, missing invalidation, and oversized objects—explaining their pitfalls with code examples and showing concrete fixes that dramatically improve latency, throughput, and memory usage.

Anti‑PatternCacheCaffeine
0 likes · 15 min read
5 Common Redis Cache Anti‑Patterns and How to Fix Them
JD Retail Technology
JD Retail Technology
Sep 4, 2025 · Operations

Mastering High Availability: Real-World Pitfalls and Solutions from JD's Production Systems

This article walks through the challenges of building high‑availability systems—covering applications, databases, caches, message queues, containers, GC, and more—using JD’s production experiences to highlight common pitfalls, root‑cause analyses, and practical mitigation strategies for engineers seeking resilient architecture.

CacheDistributed SystemsJDK
0 likes · 37 min read
Mastering High Availability: Real-World Pitfalls and Solutions from JD's Production Systems
JakartaEE China Community
JakartaEE China Community
Sep 2, 2025 · Backend Development

Choosing the Right Cache Solution: Key Criteria and Trade‑offs

This article explains why caching is a performance trade‑off, outlines essential cache features such as size limits, eviction policies, TTL, configuration, integration APIs, and distributed versus local modes, and provides a comprehensive checklist for evaluating cache providers.

CacheJCacheSpring Cache
0 likes · 12 min read
Choosing the Right Cache Solution: Key Criteria and Trade‑offs
MaGe Linux Operations
MaGe Linux Operations
Aug 18, 2025 · Operations

Redis Cache Pitfalls: Penetration, Avalanche, Breakdown – Solutions & Real Cases

This article examines the three classic Redis caching problems—cache penetration, cache avalanche, and cache breakdown—illustrates real‑world incidents that caused system outages, and provides comprehensive mitigation techniques such as Bloom filters, null‑value caching, random expiration, multi‑level caches, logical expiration, and distributed locks, along with monitoring and disaster‑recovery practices.

CachePythonperformance
0 likes · 25 min read
Redis Cache Pitfalls: Penetration, Avalanche, Breakdown – Solutions & Real Cases
Sanyou's Java Diary
Sanyou's Java Diary
Aug 7, 2025 · Backend Development

How Easy-Cache Solves Distributed Cache Pain Points with Multi-Level Design

This article introduces Easy-Cache, a Spring-AOP based caching framework that provides annotation-driven, multi-level Redis and local cache with dynamic upgrade/downgrade, elastic expiration, and Lua-script-ensured data consistency, eliminating repetitive cache code and handling failures, cache penetration, breakdown, and eventual consistency challenges.

CacheLuaMulti-level Cache
0 likes · 18 min read
How Easy-Cache Solves Distributed Cache Pain Points with Multi-Level Design
Tech Freedom Circle
Tech Freedom Circle
Aug 5, 2025 · Backend Development

How to Diagnose and Fix Sudden Redis Slowdowns: A Complete Five‑Step Guide

This article provides a systematic, step‑by‑step methodology for identifying the root causes of Redis performance degradation—including big keys, slow queries, expiration spikes, memory limits, fork latency, AOF flushing, memory fragmentation, swap usage, huge pages, and CPU binding—and offers immediate mitigation tactics as well as long‑term architectural solutions to restore and maintain high throughput.

BackendCacheMemory
0 likes · 50 min read
How to Diagnose and Fix Sudden Redis Slowdowns: A Complete Five‑Step Guide
Deepin Linux
Deepin Linux
Jul 21, 2025 · Fundamentals

Unlocking CPU Speed: How Cache Bridges the Gap Between Processor and Memory

This article explains why modern CPUs need cache memory, describes the hierarchy of L1‑L3 caches, the principles of locality, write policies, multi‑core coherence mechanisms such as bus snooping and the MESI protocol, and offers practical code‑level optimizations to improve cache performance.

CPUCacheMESI Protocol
0 likes · 31 min read
Unlocking CPU Speed: How Cache Bridges the Gap Between Processor and Memory
Deepin Linux
Deepin Linux
Jul 15, 2025 · Fundamentals

Mastering LRU Cache: Theory, C++ Implementation, and Interview Strategies

This article explains the core principles of the Least Recently Used (LRU) cache algorithm, details its operation and complexity, provides a complete C++ implementation with line-by-line analysis, showcases test cases, and offers practical interview tips and extensions such as LFU and LRU‑K.

CCacheLRU
0 likes · 18 min read
Mastering LRU Cache: Theory, C++ Implementation, and Interview Strategies
Code Mala Tang
Code Mala Tang
Jul 12, 2025 · Frontend Development

Master Data Fetching in React with TanStack Query: From Simple Queries to Optimistic Updates

This guide walks you through using TanStack Query in React, covering simple queries, custom hooks, selectors, dependent queries, pagination, infinite scrolling, query key factories, mutations, query invalidation, conditional fetching, optimistic updates, and global error handling with Suspense, all illustrated with clear code examples.

CacheData FetchingOptimistic Update
0 likes · 7 min read
Master Data Fetching in React with TanStack Query: From Simple Queries to Optimistic Updates
Deepin Linux
Deepin Linux
Jul 10, 2025 · Fundamentals

Mastering LRUCache: How to Build a High‑Performance Cache in C++

Explore the principles behind Least Recently Used (LRU) caching, understand why it outperforms FIFO and LFU strategies, and follow a step‑by‑step C++ implementation using hash tables and doubly linked lists, complete with detailed code, testing, and performance optimization tips.

CCacheData Structure
0 likes · 24 min read
Mastering LRUCache: How to Build a High‑Performance Cache in C++
JD Cloud Developers
JD Cloud Developers
Jun 30, 2025 · Backend Development

Unveiling Guava Cache Internals: Why It Lags Behind Caffeine

This article dissects Guava Cache's source code, explaining its segment‑based locking, data structures, put/get implementations, cleanup and eviction mechanisms, and then contrasts its performance and design choices with the more modern Caffeine cache, highlighting why Guava falls short.

CacheCaffeineGuava
0 likes · 39 min read
Unveiling Guava Cache Internals: Why It Lags Behind Caffeine
Deepin Linux
Deepin Linux
Jun 26, 2025 · Fundamentals

How Memory I/O Powers Your Computer: From CPU to Cache Explained

This article demystifies memory I/O by exploring its hardware foundations, the interaction between CPU and memory controllers, the role of user and kernel spaces, timing parameters, cache hierarchies, and practical optimization strategies for databases, file systems, and server applications.

CPUCacheOperating System
0 likes · 33 min read
How Memory I/O Powers Your Computer: From CPU to Cache Explained
Linux Kernel Journey
Linux Kernel Journey
Jun 17, 2025 · Fundamentals

Master the Three Classic Cache Mapping Strategies: Theory and Practical Implementation

This article explains why cache is critical for computer performance and provides a thorough analysis of the three classic cache mapping strategies—direct‑mapped, fully associative, and set‑associative—detailing their mechanisms, advantages, disadvantages, concrete examples, and guidance on selecting the appropriate method for different system scenarios.

CacheDirect MappingFully Associative
0 likes · 24 min read
Master the Three Classic Cache Mapping Strategies: Theory and Practical Implementation
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.

CacheConsistencycache-aside
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.

ActuatorCacheOAuth2
0 likes · 11 min read
7 Advanced Spring Boot Cases: Resilience4j, Actuator, Cache & More
JD Cloud Developers
JD Cloud Developers
Apr 16, 2025 · Backend Development

Master Spring Cache Annotations: @EnableCaching, @Cacheable, @CachePut, @CacheEvict Explained

This article explains how Spring's caching annotations—@EnableCaching, @Cacheable, @CachePut, and @CacheEvict—work together to simplify cache management, includes Maven dependency setup, configuration class, entity and service code, a full Spring Boot example, test cases, and visual illustrations of cache miss, hit, update, and eviction.

BackendCacheannotations
0 likes · 13 min read
Master Spring Cache Annotations: @EnableCaching, @Cacheable, @CachePut, @CacheEvict Explained
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.

CacheData TypesPersistence
0 likes · 13 min read
Mastering Redis: Persistence, Cache Pitfalls, Data Types, Clustering & Locks
dbaplus Community
dbaplus Community
Mar 24, 2025 · Cloud Native

How I Cut Docker Image Build Time from 16 Minutes to 1 Minute – 10× Faster Builds

This article walks through a step‑by‑step analysis of a slow Docker image build for a Python app, identifies the costly layers, and applies multi‑stage builds, cache‑busting techniques, and Dockerfile best‑practice rules to shrink the build time from about 16 minutes to one minute and reduce the image size by roughly half.

CacheDockerDockerfile
0 likes · 19 min read
How I Cut Docker Image Build Time from 16 Minutes to 1 Minute – 10× Faster Builds
Liangxu Linux
Liangxu Linux
Mar 22, 2025 · Fundamentals

Unveiling CPU Cache: How It Bridges the Speed Gap Between CPU and Memory

CPU cache, a multi‑level SRAM memory positioned between registers and main memory, evolved from non‑existent in early CPUs to sophisticated L1‑L4 hierarchies, addressing the massive speed disparity between processors and RAM by exploiting spatial and temporal locality to dramatically boost overall system performance.

CPUCacheMemory Hierarchy
0 likes · 10 min read
Unveiling CPU Cache: How It Bridges the Speed Gap Between CPU and Memory
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.

Backend DevelopmentCachePerformance 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.

CacheCaffeineCount-Min Sketch
0 likes · 71 min read
Understanding the Design and Implementation of Caffeine Cache
ITPUB
ITPUB
Feb 14, 2025 · Databases

Why Did Redis Crash at 100% Memory? Deep Dive into Buffer Overflows and Mitigation

An incident where massive key traffic pushed Redis memory usage to 100% revealed that buffer memory, not the dataset itself, exhausted the instance, leading to timeouts and crashes; the analysis explains the root causes, shows detailed INFO MEMORY output, and provides practical mitigation guidelines.

CacheKey DesignMemory Management
0 likes · 25 min read
Why Did Redis Crash at 100% Memory? Deep Dive into Buffer Overflows and Mitigation
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.

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

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

CacheScalabilitydatabase
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
Go Programming World
Go Programming World
Nov 25, 2024 · Backend Development

Understanding Go's singleflight: Request Merging, Implementation and Use Cases

singleflight, a Go concurrency primitive from the x/sync package, merges duplicate in‑flight requests to reduce server load, with detailed usage examples, source code analysis, and discussion of its differences from sync.Once and typical application scenarios such as cache‑penetration, remote calls, and task deduplication.

CacheGoSingleflight
0 likes · 26 min read
Understanding Go's singleflight: Request Merging, Implementation and Use Cases
Open Source Tech Hub
Open Source Tech Hub
Nov 23, 2024 · Backend Development

What’s New in ThinkPHP 8.1? Detailed Feature and Fix List

ThinkPHP 8.1, slated for release in November, brings extensive improvements over 8.0—including routing enhancements, validation upgrades, multi‑module support, new middleware controls, expanded cache options, refined exception handling, and compatibility with PHP 8.4—providing developers with a more robust and flexible backend framework.

BackendCachePHP
0 likes · 4 min read
What’s New in ThinkPHP 8.1? Detailed Feature and Fix List
Python Programming Learning Circle
Python Programming Learning Circle
Nov 14, 2024 · Fundamentals

Using Python Dictionaries as a Cache Mechanism

This article explains how Python dictionaries can serve as an efficient caching mechanism, covering basic dictionary concepts, common operations, simple cache examples, advanced techniques like LRU cache implementation, and practical use cases such as caching API responses, with complete code snippets.

CacheLRUdictionary
0 likes · 8 min read
Using Python Dictionaries as a Cache Mechanism
JD Tech Talk
JD Tech Talk
Oct 18, 2024 · Backend Development

Understanding Caffeine: A High‑Performance Java Caching Library

This article introduces the Caffeine Java caching library, detailing its features, core classes and parameters, various loading strategies—including manual, automatic, and asynchronous loading—eviction policies, removal listeners, and cache statistics, accompanied by practical code examples for integration in backend applications.

AsyncCacheCaffeine
0 likes · 12 min read
Understanding Caffeine: A High‑Performance Java Caching Library
Liangxu Linux
Liangxu Linux
Sep 17, 2024 · Fundamentals

Why CPU Memory Access Is Far More Complex Than You Think

The article explains how CPUs read and write memory through a hierarchy of caches, virtual memory translation, and coherence protocols, revealing that the seemingly simple operation actually involves multiple hardware and software layers that programmers must understand to write high‑performance code.

CacheCoherenceMemory Hierarchy
0 likes · 16 min read
Why CPU Memory Access Is Far More Complex Than You Think