Tagged articles

cache

547 articles · Page 4 of 6
Top Architect
Top Architect
Mar 22, 2022 · Backend Development

Cache Update Strategies: Consistency, Concurrency, and Failure Handling

The article analyzes various cache update strategies—including delete‑then‑write, write‑then‑delete, and asynchronous binlog subscription—examining their impact on system throughput, concurrency safety, failure scenarios, and fault detection to ensure data consistency between cache and database.

backendcacheconcurrency
0 likes · 6 min read
Cache Update Strategies: Consistency, Concurrency, and Failure Handling
IT Services Circle
IT Services Circle
Mar 22, 2022 · Backend Development

Cache Avalanche Incident: Root Cause, Response, and Prevention Strategies

A recent flash‑sale failure caused by a cache avalanche was analyzed, revealing that setting a uniform two‑hour expiration for all items flooded the database, and the post outlines detection steps, emergency mitigation, and three proven techniques—uniform expiration, mutex locking, and never‑expire caches—to prevent recurrence.

cacheincident
0 likes · 4 min read
Cache Avalanche Incident: Root Cause, Response, and Prevention Strategies
Java High-Performance Architecture
Java High-Performance Architecture
Mar 21, 2022 · Backend Development

Boost Spring Cache Performance with Custom Annotations and a SCAN‑Based RedisCacheWriter

This article explains how to enhance Spring Cache by creating custom cache annotations, replacing the costly KEYS command with SCAN in a rewritten DefaultRedisCacheWriter, and dynamically registering RedisCacheManager beans to support per‑module TTL and transaction‑aware caching, all illustrated with full Java code examples.

RedisSpringannotations
0 likes · 28 min read
Boost Spring Cache Performance with Custom Annotations and a SCAN‑Based RedisCacheWriter
Selected Java Interview Questions
Selected Java Interview Questions
Mar 1, 2022 · Backend Development

Cache Consistency Strategies: From Simple Write‑Through to Binlog Subscription

This article explains why caching is essential for high‑concurrency systems, analyzes the challenges of keeping database and cache data consistent, and compares five practical cache‑invalidation strategies—including write‑after‑DB, delete‑before‑write, delayed double delete, queue‑based deletion, and binlog subscription—highlighting their trade‑offs and suitable scenarios.

Cache invalidationData ConsistencyRedis
0 likes · 10 min read
Cache Consistency Strategies: From Simple Write‑Through to Binlog Subscription
Top Architect
Top Architect
Feb 18, 2022 · Backend Development

Ensuring Data Consistency Between Cache and Database: Strategies and Trade‑offs

The article analyzes the problem of data inconsistency when using caches such as Redis or local memory alongside a database, classifies data by real‑time requirements, compares four write‑through/write‑behind strategies, and proposes practical solutions like delayed double‑delete, message‑queue compensation, and binlog‑driven cache updates.

backendcacheconsistency
0 likes · 8 min read
Ensuring Data Consistency Between Cache and Database: Strategies and Trade‑offs
Efficient Ops
Efficient Ops
Feb 16, 2022 · Databases

Master Redis: Core Concepts, Commands, and Data Types Explained

Redis is an open‑source, in‑memory data‑structure store that serves as a database, cache, and message broker; this guide introduces its fundamentals, explains why NoSQL emerged, details its five primary data types, common commands, and advanced features like transactions and pipelines.

Data StructuresDatabaseNoSQL
0 likes · 15 min read
Master Redis: Core Concepts, Commands, and Data Types Explained
Architect's Journey
Architect's Journey
Feb 16, 2022 · Databases

How to Explain Redis Persistence Mechanisms in an Interview

The article walks through Redis’s two persistence options—RDB snapshots and AOF logs—detailing how each works, their advantages and drawbacks, and why interviewees should understand their differences, including AOF rewrite compression, to answer interview questions accurately.

AOFInterviewPersistence
0 likes · 8 min read
How to Explain Redis Persistence Mechanisms in an Interview
Top Architect
Top Architect
Jan 24, 2022 · Backend Development

Ensuring Data Consistency Between Cache and Database in Double‑Write Scenarios

The article analyzes the challenges of maintaining data consistency when using both cache (local memory or Redis) and a database, classifies data by real‑time requirements, evaluates four double‑write strategies, and proposes practical solutions such as delayed double deletion, message‑queue compensation, and binlog‑driven cache updates.

Data synchronizationbackendcache
0 likes · 8 min read
Ensuring Data Consistency Between Cache and Database in Double‑Write Scenarios
Shopee Tech Team
Shopee Tech Team
Jan 13, 2022 · Big Data

Engineering Practices and Performance Optimizations of Apache Druid for Real‑Time OLAP at Shopee

Shopee’s engineering team scaled a 100‑node Apache Druid cluster for real‑time OLAP by redesigning the Coordinator load‑balancing algorithm, adding incremental metadata pulls, introducing a segment‑merged result cache, and building exact‑count and flexible sliding‑window operators, while planning cloud‑native deployment.

Apache DruidBig DataBitmap Index
0 likes · 17 min read
Engineering Practices and Performance Optimizations of Apache Druid for Real‑Time OLAP at Shopee
58 Tech
58 Tech
Jan 6, 2022 · Mobile Development

Design and Implementation of a Unified Rich Media Animation Control for Android Apps

This document presents the background, objectives, research findings, design principles, API specifications, caching strategy, implementation details, XML usage, memory impact analysis, and conclusions of a unified rich‑media animation component that consolidates image, GIF, Lottie, pager and video handling for efficient reuse in Android RecyclerView lists.

AndroidKotlinRecyclerView
0 likes · 11 min read
Design and Implementation of a Unified Rich Media Animation Control for Android Apps
Tencent Cloud Developer
Tencent Cloud Developer
Dec 10, 2021 · Databases

MongoDB Architecture and Performance Optimizations for Tencent Cloud K‑Song Feed Service

The article details how Tencent Cloud’s K‑Song feed service, serving over 150 million daily users, was engineered with a read‑expansion model, cached results, auxiliary index tables, hashed sharding, write‑concern tuning, disabled chain replication, and WiredTiger and backup optimizations, achieving sub‑10 ms write latency and significantly lower CPU and slow‑query rates.

MongoDBShardingTencent Cloud
0 likes · 17 min read
MongoDB Architecture and Performance Optimizations for Tencent Cloud K‑Song Feed Service
dbaplus Community
dbaplus Community
Dec 7, 2021 · Backend Development

How to Ensure Cache‑Database Consistency: Strategies, Pitfalls & Best Practices

This article explains why caching improves performance, examines the trade‑offs between cache utilization and data consistency, analyzes concurrency‑induced inconsistency scenarios, compares update‑then‑delete versus delete‑then‑update approaches, and recommends asynchronous retry with message queues or binlog subscription to reliably keep cache and database in sync.

Delayed Double Deleteasynchronous-retrycache
0 likes · 19 min read
How to Ensure Cache‑Database Consistency: Strategies, Pitfalls & Best Practices
Top Architect
Top Architect
Dec 5, 2021 · Backend Development

Handling Redis Cache Issues: Breakdown, Penetration, and Avalanche Strategies

This article explains how Redis cache can suffer from key expiration, eviction, and high‑concurrency problems such as cache breakdown, penetration, and avalanche, and presents practical lock‑based, filter‑based, and timing‑aware solutions to maintain backend stability and performance.

Cache AvalancheCache BreakdownCache Penetration
0 likes · 6 min read
Handling Redis Cache Issues: Breakdown, Penetration, and Avalanche Strategies
21CTO
21CTO
Dec 2, 2021 · Fundamentals

Why Caches Matter: A Deep Dive into CPU Memory Hierarchy and Consistency

This article provides a comprehensive overview of CPU caches, covering why they are needed, their classification, placement and lookup mechanisms, replacement and write policies, and coherence protocols such as MESI, illustrating each concept with diagrams and code examples.

CPUcachecache-coherence
0 likes · 11 min read
Why Caches Matter: A Deep Dive into CPU Memory Hierarchy and Consistency
Programmer DD
Programmer DD
Nov 15, 2021 · Fundamentals

Why Cache Matters: Understanding Placement, Replacement, and Consistency

This article explores the role of cache in computer architecture, covering why caches are needed, how data is placed and retrieved, various replacement policies, write strategies, and consistency protocols such as MESI, while illustrating concepts with diagrams and code examples.

Cache ConsistencyLRUcache
0 likes · 12 min read
Why Cache Matters: Understanding Placement, Replacement, and Consistency
Laravel Tech Community
Laravel Tech Community
Nov 7, 2021 · Backend Development

session_cache_limiter — Retrieve and Set Cache Limiter

The session_cache_limiter function returns the current cache limiter name, defines HTTP cache‑control policies such as nocache, public, and private, accepts an optional limiter argument, and can be used in PHP scripts to control client and proxy caching behavior.

backendcachesession
0 likes · 2 min read
session_cache_limiter — Retrieve and Set Cache Limiter
Laravel Tech Community
Laravel Tech Community
Nov 7, 2021 · Backend Development

session_cache_expire — Returns the Current Cache Expiration Time in PHP

This article explains the PHP function session_cache_expire(), describing its purpose of returning the current session cache expiration value in minutes, its optional parameter for setting a new expiration time, the default return value, and provides a complete example demonstrating how to configure and display the cache limiter and expiration settings.

backendcachesession
0 likes · 2 min read
session_cache_expire — Returns the Current Cache Expiration Time in PHP
Wukong Talks Architecture
Wukong Talks Architecture
Nov 4, 2021 · Backend Development

Understanding Eureka Server's Three-Level Cache Architecture

This article explains Eureka Server's three-tier cache system—including read‑only, read‑write, and local registry caches—detailing their structures, update mechanisms, expiration policies, configuration options, and the consistency challenges they introduce for microservice environments.

Eurekacachejava
0 likes · 9 min read
Understanding Eureka Server's Three-Level Cache Architecture
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 2, 2021 · Fundamentals

Understanding Bloom Filters: Principles, Java Implementation, and Practical Use Cases

This article introduces Bloom filters—a space‑efficient probabilistic data structure—for fast set membership testing, explains their underlying hash‑based mechanism, showcases Java implementation with Google Guava, and demonstrates their application in scenarios such as cache‑penetration protection.

Bloom filterData StructureGuava
0 likes · 7 min read
Understanding Bloom Filters: Principles, Java Implementation, and Practical Use Cases
IT Architects Alliance
IT Architects Alliance
Oct 30, 2021 · Backend Development

How to Prevent Cache Breakdown, Penetration, and Avalanche in High‑Traffic Systems

The article explains why cache breakdown, penetration, and avalanche occur under high concurrency, analyzes their root causes such as key expiration and eviction, and provides practical mitigation techniques including distributed locking, Bloom filters, and staggered key updates to keep services stable.

Cache AvalancheCache BreakdownCache Penetration
0 likes · 7 min read
How to Prevent Cache Breakdown, Penetration, and Avalanche in High‑Traffic Systems
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.

PersistenceRedisbest practices
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.

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

Replacement Policiescachecomputer architecture
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.

Data StructuresHigh AvailabilityRedis
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.

ClusteringData StructuresHigh Availability
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 systemshigh concurrency
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.

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

DNS hijackingHTTPDNSHigh Availability
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.

Bloom filterHigh AvailabilityRedis
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.

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

DatabasesMemory ManagementRedis
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.

Bloom filterHigh AvailabilityRedis
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.

GoIn-Memoryarchitecture
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.

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

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

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

Hybrid storageRedisRocksDB
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.

Cuckoo FilterDatabaseHybrid 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.

Rediscachedistributed systems
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 systemshotspot detection
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.

MySQLcacheconsistency
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 DataHadoopUS3
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 systemshotspot detection
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 DataHDFSJuiceFS
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.

Operating Systemscachecomputer architecture
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 SystemEurekaSpring 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.

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

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

Cache AsideMessage QueueRedis
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.

CaffeineIn-Memorycache
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.

CDCData Consistencycache
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.

NginxServer Monitoringcache
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.

Data MigrationDockerMulti-Cloud
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.

Cache AsideData Consistencybackend
0 likes · 9 min read
Avoid Stale Data: Pitfalls and Best Practices for Cache Aside, Read‑Through, Write‑Through, and Write‑Behind
Architect
Architect
Jan 30, 2021 · Backend Development

Deep Dive into Caffeine Cache: W‑TinyLFU Design, High‑Performance Architecture, and Code Analysis

This article provides a comprehensive analysis of the Caffeine Java caching library, covering its performance‑focused W‑TinyLFU eviction algorithm, detailed source‑code walkthroughs of frequency sketching, read/write buffers, timer‑wheel expiration, and practical usage examples compared with Guava Cache.

CaffeineW‑TinyLFUbackend
0 likes · 35 min read
Deep Dive into Caffeine Cache: W‑TinyLFU Design, High‑Performance Architecture, and Code Analysis
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.

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

AlgorithmsCaffeineW‑TinyLFU
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.

CaffeineSpringW‑TinyLFU
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.

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

Cache AvalancheCache BreakdownCache Penetration
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.

Bloom filterRedisbackend
0 likes · 8 min read
Understanding Cache Penetration, Breakdown, and Avalanche with Redis and Bloom Filters
Liangxu Linux
Liangxu Linux
Dec 24, 2020 · Fundamentals

Why CPU Cache Matters: From Memory Access to False Sharing and Linux Scheduling

This article explains CPU architecture, cache hierarchy, the concept of cache lines, how false sharing degrades performance, mitigation techniques like cache‑line alignment, and the Linux scheduler's task prioritisation, virtual runtime, and run‑queue mechanisms for fair and real‑time execution.

CFSCPULinux scheduling
0 likes · 19 min read
Why CPU Cache Matters: From Memory Access to False Sharing and Linux Scheduling
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.

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

Data TypesDatabaseNoSQL
0 likes · 22 min read
Redis Data Types and Commands: A Comprehensive Guide
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.

Data StructuresDatabaseRedis
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.

AOFDatabaseRDB
0 likes · 11 min read
Understanding Redis Expiration Strategies, RDB, and AOF Implementation