Tagged articles
517 articles
Page 4 of 6
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Oct 25, 2021 · Databases

Common Redis Pitfalls and How to Avoid Them

This article examines frequent Redis pitfalls—including unexpected key expiration, blocking DEL commands, RANDOMKEY performance issues, SETBIT memory spikes, MONITOR OOM risks, persistence challenges, and master‑slave replication quirks—providing detailed explanations and practical mitigation strategies for each scenario.

CachePerformancePersistence
0 likes · 29 min read
Common Redis Pitfalls and How to Avoid Them
Su San Talks Tech
Su San Talks Tech
Oct 9, 2021 · Databases

20 Essential Redis Interview Questions Every Engineer Should Know

This comprehensive guide covers Redis fundamentals, data structures, performance tricks, cache pitfalls, expiration policies, persistence options, high‑availability architectures, distributed locking techniques, and practical use‑cases, providing clear explanations and code examples for each topic.

CacheDataStructuresDistributedLock
0 likes · 57 min read
20 Essential Redis Interview Questions Every Engineer Should Know
Top Architect
Top Architect
Oct 4, 2021 · Fundamentals

Understanding Cache: Concepts, Mechanisms, and Consistency

This article provides a comprehensive overview of cache memory, explaining why caches are needed, their placement strategies, operation principles, replacement policies, write handling methods, and coherence protocols such as MESI, offering essential knowledge for computer architecture and system design.

CacheMESIMemory Hierarchy
0 likes · 12 min read
Understanding Cache: Concepts, Mechanisms, and Consistency
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 29, 2021 · Databases

Redis Interview Questions and Core Concepts: Data Types, Performance, Persistence, High Availability, and Common Use Cases

This article provides a comprehensive overview of Redis, covering its definition, basic and special data structures, performance optimizations, expiration and eviction policies, common application scenarios, persistence mechanisms, high‑availability architectures, distributed lock implementations, transaction handling, and related algorithms such as Redlock and Bloom filters.

CacheData Structuresdistributed-lock
0 likes · 45 min read
Redis Interview Questions and Core Concepts: Data Types, Performance, Persistence, High Availability, and Common Use Cases
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 22, 2021 · Databases

Common Redis Interview Questions and Answers

This article provides a comprehensive list of typical Redis interview questions covering its features, performance, data structures, supported data types, common use cases, eviction policies, persistence methods, clustering, high‑availability mechanisms, transaction handling, and comparisons with local caches like Guava and Caffeine.

CacheData StructuresPersistence
0 likes · 15 min read
Common Redis Interview Questions and Answers
iQIYI Technical Product Team
iQIYI Technical Product Team
Sep 3, 2021 · Backend Development

Distributed Real-Time Local Cache Practice in iQIYI TV Backend

iQIYI TV’s backend implements a distributed real‑time local cache that combines hotspot local storage with a unified messaging bus, management console, and business‑filtering to deliver instant updates, improve hit rates, reduce read‑bottleneck risk, and alleviate load on centralized caches under extreme concurrency.

CacheDistributed SystemsReal-Time
0 likes · 6 min read
Distributed Real-Time Local Cache Practice in iQIYI TV Backend
Programmer DD
Programmer DD
Aug 25, 2021 · Databases

Understanding Redis Virtual Memory (VM): Mechanism, Config & Best Practices

This article explains Redis's virtual memory (VM) feature, how it swaps cold data to disk while keeping keys in memory, details configuration parameters, describes the two threading models for data swap-in/out, and highlights why Redis's custom VM implementation boosts performance.

CachePerformanceVirtual Memory
0 likes · 8 min read
Understanding Redis Virtual Memory (VM): Mechanism, Config & Best Practices
NetEase Smart Enterprise Tech+
NetEase Smart Enterprise Tech+
Aug 24, 2021 · Information Security

How NetEase Cloud IM SDK Prevents DNS Hijacking with HttpDNS High‑Availability

This article explains the DNS hijacking threat, shares a real incident affecting NetEase Cloud IM, and details a comprehensive high‑availability architecture—including HttpDNS, laddered HTTP requests, caching strategies, and SNI handling—that protects the SDK from DNS attacks and ensures reliable service.

CacheDNS hijackingHTTPDNS
0 likes · 13 min read
How NetEase Cloud IM SDK Prevents DNS Hijacking with HttpDNS High‑Availability
Laravel Tech Community
Laravel Tech Community
Aug 12, 2021 · Backend Development

Cache Penetration, Cache Breakdown, and Cache Avalanche: Concepts and Solutions

The article explains the concepts of cache penetration, cache breakdown, and cache avalanche in Redis‑based systems, analyzes the performance problems they cause under high concurrency, and presents practical mitigation techniques such as Bloom filters, caching empty objects, distributed locks, high‑availability clusters, rate limiting, and data pre‑warming.

BackendCachebloom-filter
0 likes · 6 min read
Cache Penetration, Cache Breakdown, and Cache Avalanche: Concepts and Solutions
vivo Internet Technology
vivo Internet Technology
Aug 4, 2021 · Backend Development

Design, Migration, and High‑Performance Architecture of Vivo Mall Coupon System

Vivo Mall transformed its monolithic coupon component into an independent, sharded microservice through a rolling, dual‑write migration, employing Redis distributed locks, batch inserts, multi‑level caching, and read‑write splitting to eliminate bottlenecks, achieve non‑downtime deployment, and deliver scalable, high‑performance coupon handling for future growth.

CacheCoupon SystemIdempotency
0 likes · 17 min read
Design, Migration, and High‑Performance Architecture of Vivo Mall Coupon System
Wukong Talks Architecture
Wukong Talks Architecture
Aug 3, 2021 · Databases

Redis Eviction Policies Explained

This article introduces the various Redis eviction strategies—including volatile-ttl, volatile-random, volatile-lru, volatile-lfu, allkeys-random, allkeys-lru, and allkeys-lfu—explains their behavior, shows where they are configured in redis.conf and the initServer source code, and notes the default noeviction policy when memory exceeds maxmemory.

CacheMemory Managementdatabases
0 likes · 3 min read
Redis Eviction Policies Explained
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.

CacheDistributed Systemshotspot detection
0 likes · 13 min read
Transparent Multilevel Cache (TMC): Architecture, Hotspot Detection, and Local Cache Implementation
Laravel Tech Community
Laravel Tech Community
Jul 23, 2021 · Backend Development

Cache Penetration, Cache Breakdown, and Cache Avalanche: Concepts and Mitigation Strategies

The article explains the concepts of cache penetration, cache breakdown, and cache avalanche in Redis‑based systems, describes the performance risks they pose to persistent databases, and presents practical mitigation techniques such as Bloom filters, empty‑object caching, hot‑key permanence, distributed locks, high‑availability clusters, rate limiting, and data pre‑warming.

BackendCachePerformance
0 likes · 6 min read
Cache Penetration, Cache Breakdown, and Cache Avalanche: Concepts and Mitigation Strategies
Java Interview Crash Guide
Java Interview Crash Guide
Jul 17, 2021 · Backend Development

How Transparent Multilevel Cache (TMC) Boosts Performance with Hotspot Detection and Local Caching

The Transparent Multilevel Cache (TMC) solution adds application‑level hotspot detection, local caching, and hit‑rate statistics to a standard distributed cache stack, enabling automatic hotspot discovery, reducing load on backend cache clusters, and improving system stability and latency during traffic spikes.

CacheDistributed Systemshotspot detection
0 likes · 17 min read
How Transparent Multilevel Cache (TMC) Boosts Performance with Hotspot Detection and Local Caching
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Jul 2, 2021 · Backend Development

Exploring Optimizations for Proactive In-Memory Cache Architecture in Golang

At Gopher China 2021, Go expert Yang Le Duo presented a detailed exploration of a proactive in‑memory cache architecture, describing how his team tackled real‑time data, complex queries, hot‑cold data swapping, and language constraints to improve performance and developer productivity in large‑scale streaming applications.

ArchitectureCacheGo
0 likes · 3 min read
Exploring Optimizations for Proactive In-Memory Cache Architecture in Golang
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.

BackendCacheEhcache
0 likes · 15 min read
Comprehensive Guide to Spring Cache: A Unified Caching Solution for Redis, Ehcache and Other Middleware
Top Architect
Top Architect
Jun 27, 2021 · Backend Development

Using Caffeine Cache in Spring Boot: Algorithms, Configuration, and Code Examples

This article introduces Caffeine Cache, explains its W‑TinyLFU eviction algorithm, compares it with Guava, and provides detailed usage examples—including manual, synchronous, and asynchronous loading, eviction policies, Spring Boot integration, annotations, and configuration snippets—for building high‑performance backend caches.

CacheCaffeineSpringBoot
0 likes · 20 min read
Using Caffeine Cache in Spring Boot: Algorithms, Configuration, and Code Examples
The Dominant Programmer
The Dominant Programmer
Jun 27, 2021 · Backend Development

Cache Database Data in Redis with Custom SpringBoot AOP Annotations

This guide demonstrates how to add a custom AOP‑based caching layer to a SpringBoot application, using Redis to store frequently queried MySQL table data, defining @AopCacheEnable and @AopCacheEvict annotations, implementing an aspect, handling key generation, expiration, and cache eviction on CRUD operations.

CacheCustom AnnotationMySQL
0 likes · 9 min read
Cache Database Data in Redis with Custom SpringBoot AOP Annotations
Code Ape Tech Column
Code Ape Tech Column
Jun 1, 2021 · Databases

Tendis Hybrid Storage Architecture and Key Features

The article introduces the pain points of using Redis at Tencent IEG, explains the three Tendis product editions, and provides an in‑depth description of the hybrid storage version’s architecture, components, version control, cold‑hot data interaction, scaling mechanisms, and the stateless Redis‑sync layer.

CacheHybrid storageRocksDB
0 likes · 16 min read
Tendis Hybrid Storage Architecture and Key Features
Architect's Tech Stack
Architect's Tech Stack
May 31, 2021 · Databases

Tendis Hybrid Storage Architecture: Design, Features, and Implementation Details

This article introduces the pain points of using Redis as a cache, presents Tencent's Tendis solution with its three product variants, and provides an in‑depth explanation of the hybrid storage version’s overall architecture, component functions, version control, cold‑hot data interaction, eviction policies, and scaling mechanisms.

CacheCuckoo FilterHybrid storage
0 likes · 17 min read
Tendis Hybrid Storage Architecture: Design, Features, and Implementation Details
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.

CacheDistributed Systemshotspot detection
0 likes · 13 min read
Transparent Multilevel Cache (TMC): Architecture, Hotspot Detection, and Local Cache Implementation
21CTO
21CTO
May 30, 2021 · Backend Development

How Transparent Multilevel Cache (TMC) Eliminates Hotspot Bottlenecks in Java Services

The article introduces Youzan's Transparent Multilevel Cache (TMC), explains why hotspot cache access harms e‑commerce applications, describes its three‑layer architecture, details the Java client integration with Hermes‑SDK for automatic hotspot detection and local caching, and presents real‑world performance gains during large‑scale promotional events.

CacheDistributed SystemsPerformance
0 likes · 14 min read
How Transparent Multilevel Cache (TMC) Eliminates Hotspot Bottlenecks in Java Services
Java Backend Technology
Java Backend Technology
May 27, 2021 · Backend Development

How to Ensure Cache‑Database Consistency: Patterns and Pitfalls Explained

This article explains cache‑database consistency challenges, outlines three classic caching patterns, compares delete‑versus‑update strategies, discusses operation ordering, and presents three practical solutions—including delayed double delete, retry mechanisms, and binlog‑based asynchronous eviction—to help maintain data integrity in distributed systems.

BackendCacheConsistency
0 likes · 11 min read
How to Ensure Cache‑Database Consistency: Patterns and Pitfalls Explained
macrozheng
macrozheng
May 26, 2021 · Backend Development

How to Ensure Cache‑Database Consistency: Patterns, Pitfalls, and Solutions

This article explains the concepts of strong, weak, and eventual consistency, introduces three classic cache patterns (Cache‑Aside, Read‑Through/Write‑Through, Write‑Behind), and discusses practical strategies such as delayed double‑delete, retry mechanisms, and binlog‑based asynchronous eviction to keep Redis and MySQL data in sync.

CacheConsistencyMySQL
0 likes · 11 min read
How to Ensure Cache‑Database Consistency: Patterns, Pitfalls, and Solutions
UCloud Tech
UCloud Tech
May 21, 2021 · Big Data

How US3 Hadoop Adapter Cuts Big Data Storage Costs and Boosts Performance

This article explains how UCloud's US3 object storage, combined with a custom Hadoop adapter, separates compute and storage, optimizes file system operations, and leverages caching and specialized APIs to dramatically reduce storage costs and improve read/write performance for large‑scale Hadoop workloads.

Big DataCacheHadoop
0 likes · 13 min read
How US3 Hadoop Adapter Cuts Big Data Storage Costs and Boosts Performance
Java Backend Technology
Java Backend Technology
May 20, 2021 · Backend Development

How Transparent Multilevel Cache (TMC) Supercharges Java Application Performance

The article explains Youzan's Transparent Multilevel Cache (TMC), a solution that automatically detects cache hotspots, adds an application‑level local cache, and provides hit statistics to reduce load on distributed caches, improve consistency, and boost performance for high‑traffic e‑commerce scenarios.

CacheDistributed SystemsPerformance Optimization
0 likes · 15 min read
How Transparent Multilevel Cache (TMC) Supercharges Java Application Performance
Code Ape Tech Column
Code Ape Tech Column
May 19, 2021 · Backend Development

How Transparent Multilevel Cache (TMC) Eliminates Hotspot Bottlenecks in High‑Traffic E‑Commerce

The article explains Youzan’s Transparent Multilevel Cache (TMC), detailing its architecture, hotspot detection, local caching, consistency mechanisms, and real‑world performance gains during flash‑sale events, showing how it reduces cache pressure and improves latency for Java‑based services.

CacheConsistencyDistributed Systems
0 likes · 16 min read
How Transparent Multilevel Cache (TMC) Eliminates Hotspot Bottlenecks in High‑Traffic E‑Commerce
Qu Tech
Qu Tech
May 6, 2021 · Big Data

How JuiceFS Cut HDFS Load by 26% and Boost Presto Query Speed 13%

This case study details how integrating JuiceFS with Presto reduced HDFS cluster load by about 26%, achieved over 90% cache hit rate for ad‑hoc queries, and lowered average query latency by roughly 13%, while simplifying operations and improving system stability.

Big DataCacheHDFS
0 likes · 9 min read
How JuiceFS Cut HDFS Load by 26% and Boost Presto Query Speed 13%
Liangxu Linux
Liangxu Linux
May 4, 2021 · Fundamentals

Why Computers Use a Memory Hierarchy: Registers, Cache, RAM & Virtual Memory

The article explains the purpose and structure of the memory hierarchy—from ultra‑fast registers and caches inside the CPU, through volatile main memory, to slower non‑volatile disks—showing how programs are loaded, executed, and how virtual memory and locality principles extend usable memory beyond physical limits.

CacheMemory HierarchyOperating Systems
0 likes · 12 min read
Why Computers Use a Memory Hierarchy: Registers, Cache, RAM & Virtual Memory
Yang Money Pot Technology Team
Yang Money Pot Technology Team
Apr 30, 2021 · Cloud Native

Understanding Eureka Service Registry: Server and Client Architecture and Mechanisms

This article explains the architecture and core mechanisms of Eureka, a service registry used in Spring Cloud micro‑service environments, covering server components such as Lease and caching, client registration and discovery processes, self‑preservation mode, consistency trade‑offs, and comparisons with other discovery solutions.

AP SystemCacheSpring Cloud
0 likes · 21 min read
Understanding Eureka Service Registry: Server and Client Architecture and Mechanisms
Big Data Technology & Architecture
Big Data Technology & Architecture
Apr 10, 2021 · Big Data

Understanding Spark Cache and Checkpoint Mechanisms

This article explains Spark's cache and checkpoint mechanisms, detailing when to use each, how they are implemented internally, how cached and checkpointed RDDs are stored and retrieved, and the differences between caching, persisting, and checkpointing for reliable big‑data processing.

CacheCheckpointPerformance
0 likes · 13 min read
Understanding Spark Cache and Checkpoint Mechanisms
ITPUB
ITPUB
Apr 7, 2021 · Operations

8 Real-World Production Failures and How to Diagnose Them Quickly

The article shares eight authentic production incident cases—from frequent JVM Full GC and memory leaks to cache avalanches, DNS hijacking, and database deadlocks—detailing their root causes, diagnostic steps, code snippets, and practical remediation strategies for engineers facing similar challenges.

CacheJVMOperations
0 likes · 17 min read
8 Real-World Production Failures and How to Diagnose Them Quickly
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 6, 2021 · Backend Development

Cache Consistency Strategies: TTL, Delayed Double Delete, Cache‑Aside, and Message‑Queue Approaches

This article examines cache consistency challenges in Redis-backed systems and compares several update strategies—including TTL, delayed double‑delete, cache‑aside, and message‑queue approaches—detailing their workflows, code examples, advantages, and drawbacks to guide backend developers toward reliable cache invalidation.

BackendCacheConsistency
0 likes · 7 min read
Cache Consistency Strategies: TTL, Delayed Double Delete, Cache‑Aside, and Message‑Queue Approaches
ZhiKe AI
ZhiKe AI
Mar 15, 2021 · Backend Development

Building a Standalone In-Memory Cache with Expiration Support

This article explains how to create a simple single‑node in‑memory cache that supports per‑entry expiration by defining a generic cache interface and implementing it with Caffeine, using ConcurrentHashMap to store multiple caches keyed by expiration time.

CacheCaffeineExpiration
0 likes · 5 min read
Building a Standalone In-Memory Cache with Expiration Support
JD Retail Technology
JD Retail Technology
Mar 12, 2021 · Backend Development

Cache Synchronization in High‑Concurrency Environments: Problems and JD's CDC‑Based Solution

The article reviews common cache‑side data‑sync patterns, highlights their inconsistency and data‑loss risks under high load, and presents JD's solution that combines Cache‑Aside, Change Data Capture, message queues, delayed consumption, versioning, and persistence to ensure eventual consistency between cache and relational databases.

CDCCacheData Consistency
0 likes · 7 min read
Cache Synchronization in High‑Concurrency Environments: Problems and JD's CDC‑Based Solution
Efficient Ops
Efficient Ops
Mar 7, 2021 · Backend Development

Boost Nginx Performance: Custom 404 Pages, Status Monitoring, and Concurrency Tuning

This guide walks through customizing Nginx 404 error pages, enabling and reading the stub_status module, increasing worker processes and connections, adjusting kernel limits, expanding header buffers, and configuring browser caching for static assets to dramatically improve server performance and reliability.

CacheNGINXPerformance Optimization
0 likes · 10 min read
Boost Nginx Performance: Custom 404 Pages, Status Monitoring, and Concurrency Tuning
JD Cloud Developers
JD Cloud Developers
Feb 25, 2021 · Operations

Boost Multi-Cloud Redis Migration with RedisSyncer

This article explains how RedisSyncer enables fast, reliable cross‑version and cross‑cluster Redis data migration in multi‑cloud environments, addressing challenges such as version mismatches, node inconsistencies, and rapid rollback while improving access speed and reducing database load.

CacheData MigrationDocker
0 likes · 5 min read
Boost Multi-Cloud Redis Migration with RedisSyncer
dbaplus Community
dbaplus Community
Feb 8, 2021 · Backend Development

Avoid Stale Data: Pitfalls and Best Practices for Cache Aside, Read‑Through, Write‑Through, and Write‑Behind

This article explains why cache‑database inconsistencies occur in large systems, details the cache‑aside, read‑through, write‑through and write‑behind strategies, highlights three common pitfalls with concrete examples, and offers practical recommendations such as proper update ordering and cache expiration to ensure data freshness.

BackendCacheData Consistency
0 likes · 9 min read
Avoid Stale Data: Pitfalls and Best Practices for Cache Aside, Read‑Through, Write‑Through, and Write‑Behind
php Courses
php Courses
Jan 29, 2021 · Backend Development

Deep Dive into ThinkPHP Cache Mechanism: Setting, Retrieval, and Source Code Analysis

This article provides a comprehensive analysis of ThinkPHP’s cache system, detailing the execution flow for setting and retrieving cache, exploring the underlying source code, illustrating static method behavior, initialization, file handling, compression techniques, and practical examples with code snippets.

BackendCacheFramework
0 likes · 11 min read
Deep Dive into ThinkPHP Cache Mechanism: Setting, Retrieval, and Source Code Analysis
Top Architect
Top Architect
Jan 28, 2021 · Backend Development

Deep Dive into Caffeine Cache: High‑Performance Design, W‑TinyLFU Algorithm, and Implementation Details

This article explains Caffeine, a high‑performance Java local cache, comparing it with Guava Cache, detailing its W‑TinyLFU eviction policy, asynchronous read/write buffers, timer‑wheel expiration, and provides extensive source code analysis to illustrate its design and optimization techniques.

AlgorithmsCacheCaffeine
0 likes · 36 min read
Deep Dive into Caffeine Cache: High‑Performance Design, W‑TinyLFU Algorithm, and Implementation Details
vivo Internet Technology
vivo Internet Technology
Jan 27, 2021 · Backend Development

Caffeine Cache: Principles, High‑Performance Read/Write, and Practical Usage in Java

Caffeine is a high‑performance Java 8 local‑cache library that replaces Guava by using the W‑TinyLFU algorithm with three‑queue LRU structures and lock‑free read/write buffers, offering extensive configuration, dynamic runtime adjustments, and safe back‑source loading with distributed locks to prevent cache‑stampede.

CacheCaffeinePerformance
0 likes · 13 min read
Caffeine Cache: Principles, High‑Performance Read/Write, and Practical Usage in Java
Big Data Technology & Architecture
Big Data Technology & Architecture
Jan 7, 2021 · Databases

Comprehensive HBase Optimization Guide: Table Design, RowKey, JVM Tuning, Cache Settings, and Read/Write Performance

This article provides a detailed, practical guide to optimizing HBase in production, covering table pre‑splitting, RowKey design, JVM memory and GC settings, MSLAB and BucketCache configuration, read‑side client and server tuning, write‑side strategies, and additional tips such as compression and scan caching.

CacheDatabase TuningHBase
0 likes · 29 min read
Comprehensive HBase Optimization Guide: Table Design, RowKey, JVM Tuning, Cache Settings, and Read/Write Performance
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jan 3, 2021 · Backend Development

Understanding Cache Penetration, Cache Breakdown, and Cache Avalanche in Redis

The article explains the concepts of cache penetration, cache breakdown, and cache avalanche in Redis, illustrates each problem with real‑world analogies, and presents practical mitigation techniques such as null caching, Bloom filters, mutex locks, asynchronous refresh, varied TTLs, and clustering to ensure robust backend performance.

BackendCachecache-avalanche
0 likes · 6 min read
Understanding Cache Penetration, Cache Breakdown, and Cache Avalanche in Redis
Architect
Architect
Dec 27, 2020 · Backend Development

Understanding Cache Penetration, Breakdown, and Avalanche with Redis and Bloom Filters

This article explains the concepts of cache penetration, cache breakdown, and cache avalanche in Redis, presents common mitigation techniques such as request validation, empty‑value caching, Bloom filters, mutex locks, and high‑availability strategies, and includes Java code examples for practical implementation.

BackendCachePerformance
0 likes · 8 min read
Understanding Cache Penetration, Breakdown, and Avalanche with Redis and Bloom Filters
Liangxu Linux
Liangxu Linux
Dec 26, 2020 · Databases

Master MySQL Performance: Practical Soft and Hard Optimization Techniques

This guide explains how to boost MySQL performance through soft optimizations like query analysis, index usage, and table restructuring, as well as hard optimizations involving hardware upgrades, configuration tuning, sharding, read‑write splitting, and cache clustering.

CacheDatabase OptimizationMySQL
0 likes · 8 min read
Master MySQL Performance: Practical Soft and Hard Optimization Techniques
Architecture Digest
Architecture Digest
Dec 17, 2020 · Backend Development

Deep Dive into Caffeine Cache: High‑Performance Design and Source‑Code Analysis

This article explains Caffeine, a high‑performance Java local cache that supersedes Guava Cache, by detailing its design principles such as the W‑TinyLFU eviction algorithm, FrequencySketch implementation, adaptive window sizing, asynchronous read/write buffers, and timer‑wheel expiration, accompanied by extensive code examples.

CacheCaffeineFrequencySketch
0 likes · 37 min read
Deep Dive into Caffeine Cache: High‑Performance Design and Source‑Code Analysis
Architecture Digest
Architecture Digest
Dec 15, 2020 · Databases

Redis Data Types and Commands: A Comprehensive Guide

This article provides a thorough overview of Redis, covering its eight core data types, essential commands, practical usage examples, and advanced features such as geospatial indexes, hyperloglog, and bitmap operations, making it a valuable reference for developers and interview preparation.

CacheData TypesNoSQL
0 likes · 22 min read
Redis Data Types and Commands: A Comprehensive Guide
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Dec 11, 2020 · Backend Development

Common Cache Read/Write Strategies for Production Environments

This article reviews five widely used cache read/write strategies—including simple write‑DB‑then‑cache, Cache‑Aside, Write/Read‑Through, Write‑Back, and LRU eviction—explaining their workflows, advantages, disadvantages, and suitability for different production scenarios.

Cachebackend-developmentcaching strategies
0 likes · 7 min read
Common Cache Read/Write Strategies for Production Environments
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Dec 1, 2020 · Databases

Why Redis Dominates Modern Caching: Features, Architecture, and Best Practices

Redis, an in‑memory C‑language database, offers ultra‑fast read/write speeds, rich data structures, persistence, clustering, and multi‑threaded I/O, making it ideal for distributed caching, locks, queues, and more; this guide explains its fundamentals, comparisons with Memcached, data types, eviction policies, and operational best practices.

CacheData StructuresPerformance
0 likes · 36 min read
Why Redis Dominates Modern Caching: Features, Architecture, and Best Practices
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 29, 2020 · Databases

Understanding Redis Expiration Strategies, RDB, and AOF Implementation

This article explains Redis's cache expiration policies—including timed, periodic, and lazy eviction—details the internal structure and parsing of RDB files, and describes the AOF persistence mechanism with its write‑ahead logging, synchronization options, and rewrite process, providing a comprehensive view of Redis data durability.

AOFCacheData Persistence
0 likes · 11 min read
Understanding Redis Expiration Strategies, RDB, and AOF Implementation
DeWu Technology
DeWu Technology
Nov 23, 2020 · Backend Development

Understanding Cache: Concepts, Types, and Best Practices

Cache is a temporary storage layer that speeds data access by keeping frequently used items close to the processor, spanning hardware (CPU registers, multi‑level caches) to software (database, Redis, Memcached), and requires careful design to avoid penetration, breakdown, and consistency issues through techniques such as empty‑result caching, Bloom filters, pre‑warming, jittered expirations, logical refreshes, and multi‑level strategies.

BackendCacheData Consistency
0 likes · 12 min read
Understanding Cache: Concepts, Types, and Best Practices
Top Architect
Top Architect
Nov 18, 2020 · Backend Development

A Comprehensive Guide to Google Guava: Collections, Functional Utilities, and Caching in Java

This article introduces the core features of Google Guava—including Joiner, Splitter, CharMatcher, primitive type helpers, Multiset, immutable collections, Multimap, BiMap, Table, functional utilities like Functions and Predicates, Optional, Preconditions, and a powerful local Cache—showcasing how they simplify Java development and improve code readability, safety, and performance.

CacheCollectionsGuava
0 likes · 9 min read
A Comprehensive Guide to Google Guava: Collections, Functional Utilities, and Caching in Java
Top Architect
Top Architect
Nov 4, 2020 · Backend Development

Understanding Redis Cache Penetration, Breakdown, and Avalanche: Concepts and Solutions

This article explains the three major Redis cache problems—cache penetration, cache breakdown, and cache avalanche—describes why they occur, and provides practical mitigation techniques such as cache‑null objects, Bloom filters, locking, high‑availability, rate limiting, data pre‑warming, and staggered expiration.

Cachebloom-filtercache-avalanche
0 likes · 12 min read
Understanding Redis Cache Penetration, Breakdown, and Avalanche: Concepts and Solutions
php Courses
php Courses
Nov 3, 2020 · Backend Development

Laravel-Quick: A Utility Package for Efficient Backend Development

Laravel-Quick is an open‑source Laravel package that provides translated validation messages, standardized HTTP status responses, exception handling, Redis‑based cache helpers, and artisan generators, with installation and usage instructions for backend developers.

BackendCacheException
0 likes · 2 min read
Laravel-Quick: A Utility Package for Efficient Backend Development
php Courses
php Courses
Nov 2, 2020 · Backend Development

Implementing a Redis Multi-Database Singleton Wrapper in ThinkPHP

This guide demonstrates how to set up a Redis multi-database singleton wrapper in a ThinkPHP project, covering prerequisite installation, configuration of connection parameters, creation of a custom Redis class with static instance management, and example usage of Redis commands across different databases.

BackendCachePHP
0 likes · 3 min read
Implementing a Redis Multi-Database Singleton Wrapper in ThinkPHP
php Courses
php Courses
Nov 2, 2020 · Backend Development

Using Laravel's RedisLock to Prevent Cache Breakdown

This article explains the cache breakdown problem, introduces Laravel 7's built‑in RedisLock class, details its constructor parameters, and provides a complete code example demonstrating how to acquire and release a Redis lock to safely populate and update cached data.

BackendCacheLaravel
0 likes · 3 min read
Using Laravel's RedisLock to Prevent Cache Breakdown
Programmer DD
Programmer DD
Oct 23, 2020 · Databases

Mastering Redis Lua Scripting: Essential Syntax and Best Practices

This article explains how Redis introduced Lua scripting to combine multiple commands atomically, covers Lua basics, data types, control structures, script execution with EVAL/EVALSHA, script management commands, and practical tips for writing efficient, safe Redis Lua scripts.

CacheLuaPerformance
0 likes · 14 min read
Mastering Redis Lua Scripting: Essential Syntax and Best Practices
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Oct 20, 2020 · Mobile Development

Why YYCache Excels: Deep Dive into iOS Cache Design & Performance

This article examines the YYCache iOS library, covering its multi‑level architecture, LRU implementation, thread‑safe APIs, eviction policies, lock choices, disk‑storage strategies, Swift integration, performance benchmarks, and practical takeaways for building high‑performance mobile caches.

CacheLRUPerformance
0 likes · 24 min read
Why YYCache Excels: Deep Dive into iOS Cache Design & Performance
Java Captain
Java Captain
Oct 16, 2020 · Backend Development

Understanding Redis Cache Issues: Penetration, Breakdown, and Avalanche

This article explains the three major Redis cache problems—cache penetration, cache breakdown, and cache avalanche—describes their causes, illustrates solutions such as empty-object caching, Bloom filters, locking, and provides practical code examples and mitigation strategies.

Cachebackend-developmentbloom-filter
0 likes · 11 min read
Understanding Redis Cache Issues: Penetration, Breakdown, and Avalanche
Java Architect Essentials
Java Architect Essentials
Oct 2, 2020 · Backend Development

Handling Cache Penetration, Breakdown, and Avalanche in Backend Systems

This article explains the three major cache issues—penetration, breakdown, and avalanche—describes why they occur in high‑traffic systems, and presents four practical mitigation strategies including Bloom filters, short‑lived empty caches, distributed mutex locks with Redis or Memcache, and resource isolation with Hystrix.

BackendCachecache-breakdown
0 likes · 9 min read
Handling Cache Penetration, Breakdown, and Avalanche in Backend Systems
Java Architecture Diary
Java Architecture Diary
Sep 27, 2020 · Backend Development

Boost Spring Boot Performance with Multi‑Level Caffeine‑Redis Cache

This article explains why a multi‑level cache combining JVM‑level Caffeine and distributed Redis is essential for modern Spring Boot applications, outlines design challenges, provides step‑by‑step integration instructions, and demonstrates performance gains with benchmark results and core implementation code.

Cachemultilevel cacheredis
0 likes · 6 min read
Boost Spring Boot Performance with Multi‑Level Caffeine‑Redis Cache
Java Architect Essentials
Java Architect Essentials
Sep 13, 2020 · Backend Development

Which Software Architecture Fits Your Project? 5 Patterns Compared

This article compares five common software architecture patterns—layered, event‑driven, microkernel‑plugin, microservices, and cache—detailing their structures, advantages, drawbacks, and ideal use cases, helping architects choose the most suitable design for new or existing applications.

CacheEvent-drivenMicroservices
0 likes · 9 min read
Which Software Architecture Fits Your Project? 5 Patterns Compared
JavaEdge
JavaEdge
Sep 11, 2020 · Backend Development

How to Prevent Cache Avalanche, Penetration, and Stampede in Redis

The article explains three common Redis cache problems—avalanche, penetration, and stampede—detailing their causes, impacts on system stability, and practical mitigation techniques such as random expiration, Bloom filters, mutex locks, and rate limiting, accompanied by code examples.

BackendCacheavalanche
0 likes · 7 min read
How to Prevent Cache Avalanche, Penetration, and Stampede in Redis
Selected Java Interview Questions
Selected Java Interview Questions
Sep 8, 2020 · Databases

Database Cache Consistency Strategies: Using Redis as a MySQL Cache

This article explains the concept of caching, why database caching with Redis is needed for MySQL, the consistency challenges it introduces, and compares four practical solutions—TTL, write‑through, message‑queue, and binlog replication—offering guidance on selecting the appropriate approach for different latency and reliability requirements.

BackendCacheMySQL
0 likes · 8 min read
Database Cache Consistency Strategies: Using Redis as a MySQL Cache
Selected Java Interview Questions
Selected Java Interview Questions
Sep 6, 2020 · Backend Development

Redis Interview Questions and High‑Availability Distributed System Overview

This article compiles common Redis interview questions, compares Redis with Memcached, explains eviction policies, and provides a concise introduction to distributed systems, high‑availability architectures, master‑slave replication, synchronization methods, and Redis‑based distributed lock solutions.

CacheDistributed Systemshigh availability
0 likes · 12 min read
Redis Interview Questions and High‑Availability Distributed System Overview
Top Architect
Top Architect
Aug 30, 2020 · Backend Development

Using Spring Cache with Redis for Efficient Data Caching in Java Applications

This article explains how to accelerate service response by integrating Redis as a key‑value cache with Spring Cache, covering the three‑step implementation, required Maven dependencies, XML configuration, property settings, a custom Cache implementation class, and common Spring Cache annotations.

CacheSpringCacheaop
0 likes · 12 min read
Using Spring Cache with Redis for Efficient Data Caching in Java Applications
Architecture Digest
Architecture Digest
Aug 24, 2020 · Backend Development

Cache Consistency Strategies: Cache Aside Pattern, Deleting vs Updating Cache, and Queue‑Based Solutions for High Concurrency

This article explains the cache‑aside pattern, why deleting cache entries is often preferable to updating them, outlines basic and complex cache‑database inconsistency scenarios, and presents a queue‑driven approach with practical considerations for maintaining data consistency in high‑concurrency backend systems.

CacheConsistencyQueue
0 likes · 10 min read
Cache Consistency Strategies: Cache Aside Pattern, Deleting vs Updating Cache, and Queue‑Based Solutions for High Concurrency
21CTO
21CTO
Aug 15, 2020 · Databases

Designing Scalable Like/Comment Systems: MySQL vs Redis Strategies

This article examines common requirements for like, comment, and collection features in apps, compares MySQL partition‑and‑cache designs with Redis storage and caching solutions, provides schema examples, query patterns, and discusses trade‑offs, scalability, and data consistency considerations.

CacheMySQL
0 likes · 7 min read
Designing Scalable Like/Comment Systems: MySQL vs Redis Strategies
Liangxu Linux
Liangxu Linux
Aug 13, 2020 · Fundamentals

Unlock Linux Performance: Master Memory, Swap, and Cache Management

This guide explains Linux's memory architecture, how virtual memory (swap) works, and provides step‑by‑step commands to adjust swappiness, release page caches, and safely free swap space, helping you optimize system performance and avoid memory‑related issues.

BuffersCacheLinux
0 likes · 9 min read
Unlock Linux Performance: Master Memory, Swap, and Cache Management
58 Tech
58 Tech
Jul 31, 2020 · Mobile Development

Performance Optimization of React Native Pages in 58 App: Analysis and Solutions

This article analyzes the startup latency of React Native pages in the 58 real‑estate app, identifies bottlenecks such as bundle size, hot‑update and Java‑to‑JS bridge delays, and presents a series of optimization techniques—including bundle splitting, silent updates, on‑demand loading, and stepwise rendering—to achieve faster, more stable page launches.

AndroidBundle SplittingCache
0 likes · 16 min read
Performance Optimization of React Native Pages in 58 App: Analysis and Solutions
Ctrip Technology
Ctrip Technology
Jul 30, 2020 · Backend Development

Design and Implementation of a Distributed Ticket Order Cache System at Ctrip

This article describes how Ctrip's ticket order post‑service team identified scaling bottlenecks, selected Redis, designed a two‑level cache architecture, implemented active and passive caching strategies, tackled consistency and failure issues, and applied various optimizations to achieve over 90% cache hit rate and dramatically reduce database load.

CacheCtriporder service
0 likes · 14 min read
Design and Implementation of a Distributed Ticket Order Cache System at Ctrip
Laravel Tech Community
Laravel Tech Community
Jul 15, 2020 · Databases

Comprehensive Redis Interview Questions and Answers

This article provides a comprehensive overview of Redis, covering its definition, advantages over memcached, supported data types, memory consumption, eviction policies, clustering options, persistence mechanisms, distributed lock implementations, cache penetration and avalanche solutions, and best-use scenarios compared to other caching systems.

CachePersistenceclustering
0 likes · 26 min read
Comprehensive Redis Interview Questions and Answers
Programmer DD
Programmer DD
Jul 15, 2020 · Backend Development

Why Caffeine Outperforms Guava: Deep Dive into Java Caching, Benchmarks & Migration

This article explains Caffeine's high‑performance local cache features, presents JMH benchmark results that show it beating Guava, ConcurrentMap and ehcache, details its expiration, refresh and eviction mechanisms, compares memory usage and eviction algorithms, and provides migration code for Guava users.

BenchmarkCacheCaffeine
0 likes · 13 min read
Why Caffeine Outperforms Guava: Deep Dive into Java Caching, Benchmarks & Migration
Big Data Technology & Architecture
Big Data Technology & Architecture
Jul 11, 2020 · Big Data

Alluxio Tiered Metadata Management and Asynchronous Cache Eviction Implementation

The article explains Alluxio's tiered metadata management architecture, describing how the system separates hot and cold metadata into cached and persisted layers, and details the custom asynchronous eviction thread and cache implementation that replace Guava cache for efficient large‑scale metadata handling.

AlluxioCachedistributed storage
0 likes · 15 min read
Alluxio Tiered Metadata Management and Asynchronous Cache Eviction Implementation
Programmer DD
Programmer DD
Jul 9, 2020 · Cloud Computing

Boost Web Performance with CDN: Basics, How It Works, and Best Practices

This article explains how Content Delivery Networks (CDNs) dramatically reduce page load times by caching static resources near users, outlines the step‑by‑step request flow, discusses cache strategies, and highlights both the advantages and limitations of CDN adoption.

CDNCacheCloud Computing
0 likes · 9 min read
Boost Web Performance with CDN: Basics, How It Works, and Best Practices