Tag

Caching Strategies

1 views collected around this technical thread.

Top Architect
Top Architect
Aug 10, 2022 · Backend Development

Cache Consistency: Challenges and Strategies for Backend Systems

This article examines why cache consistency cannot be fully guaranteed, analyzes common inconsistency scenarios between Redis and MySQL, compares four update strategies, and offers practical recommendations such as updating the database before deleting cache, using short expiration times, delayed double‑delete, MQ or binlog approaches to achieve eventual consistency.

CacheCaching StrategiesRedis
0 likes · 19 min read
Cache Consistency: Challenges and Strategies for Backend Systems
Dada Group Technology
Dada Group Technology
Jun 10, 2022 · Frontend Development

Optimizing H5 Performance in Mobile Apps: Caching Strategies and Implementation

This article discusses strategies to optimize H5 performance in mobile apps by implementing caching mechanisms and reusing webviews, significantly reducing loading times from an average of 2s+ to 1s+.

Caching StrategiesFrontend DevelopmentH5 optimization
0 likes · 9 min read
Optimizing H5 Performance in Mobile Apps: Caching Strategies and Implementation
Tencent Cloud Developer
Tencent Cloud Developer
Jan 13, 2022 · Backend Development

Strategies for Ensuring Cache Consistency in Distributed Systems

The article reviews major cache‑consistency strategies—Cache‑Aside, Read‑Through, Write‑Through, and Write‑Behind—detailing their performance and consistency trade‑offs, discusses compensation techniques such as delayed double‑delete and MySQL binlog‑based incremental parsing (DTS) for reliable deletion and HA, and advises selecting the appropriate approach based on specific business requirements.

Cache ConsistencyCaching StrategiesDatabase Optimization
0 likes · 15 min read
Strategies for Ensuring Cache Consistency in Distributed Systems
DeWu Technology
DeWu Technology
Dec 21, 2021 · Backend Development

Performance Optimization: From Understanding to Practice

The article guides readers from grasping hardware, OS, and software layers—including Intel Xeon, virtualization, VPC, and containers—to gathering performance data with tools like JProfiler and perf, then applying data‑driven optimization across business logic, architecture, code, caching, databases, runtime and hardware, illustrated by real‑world case studies and emphasizing continual learning.

Caching StrategiesContainer TechnologiesDatabase Optimization
0 likes · 43 min read
Performance Optimization: From Understanding to Practice
vivo Internet Technology
vivo Internet Technology
Nov 3, 2021 · Backend Development

Evolution and Architecture of vivo Mall's Product System

From its 2017 v2.0 upgrade to a service‑oriented design, vivo Mall’s product system was split from the monolithic mall, progressively adding independent activity, flash‑sale, consignment, and inventory services while employing rate limiting, multi‑level caching, circuit breaking, and distributed transactions to ensure stability, high performance, and data consistency.

Caching StrategiesDatabase OptimizationPerformance Optimization
0 likes · 9 min read
Evolution and Architecture of vivo Mall's Product System
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jan 9, 2021 · Backend Development

Preventing Redis Cache Avalanche: Interview Dialogue and Practical Solutions

This article presents an interview scenario where a candidate is asked about Redis cache avalanche, explains the phenomenon, and offers four practical mitigation strategies—including cache pre‑warming, mutex locking, staggered expiration, and high‑availability designs—to keep backend databases from being overwhelmed.

Cache AvalancheCaching StrategiesHigh Availability
0 likes · 4 min read
Preventing Redis Cache Avalanche: Interview Dialogue and Practical Solutions
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.

CacheCaching StrategiesDatabase
0 likes · 7 min read
Common Cache Read/Write Strategies for Production Environments
Architect's Tech Stack
Architect's Tech Stack
Nov 19, 2019 · Backend Development

Understanding Cache Avalanche, Cache Breakdown, Cache Penetration and Common Caching Patterns

This article explains the concepts of cache avalanche, cache breakdown, and cache penetration, outlines their potential impact on database performance, and presents practical mitigation techniques such as mutex locking, data pre‑warming, multi‑level caches, and popular caching patterns like Cache‑Aside, Read/Write‑Through, and Write‑Behind.

CacheCaching StrategiesPerformance
0 likes · 8 min read
Understanding Cache Avalanche, Cache Breakdown, Cache Penetration and Common Caching Patterns
Architecture Digest
Architecture Digest
Aug 13, 2018 · Backend Development

Cache Consistency, Concurrency, Penetration, Avalanche, and Bottomless Pit Issues and Mitigation Strategies

The article explains various cache problems—including consistency, concurrency, penetration, avalanche, and the bottomless‑pit phenomenon—and presents practical mitigation techniques such as active updates, locking, empty‑object caching, request filtering, consistent hashing, and multi‑level caching to ensure reliable high‑performance systems.

AvalancheCacheCaching Strategies
0 likes · 8 min read
Cache Consistency, Concurrency, Penetration, Avalanche, and Bottomless Pit Issues and Mitigation Strategies
Taobao Frontend Technology
Taobao Frontend Technology
Aug 9, 2018 · Frontend Development

Master Service Worker Caching with Workbox 3: Strategies & Code Samples

This article explains the fundamentals of Service Workers, demonstrates common pitfalls with raw SW code, provides a complete SW implementation, introduces Workbox 3 to simplify caching, compares several caching strategies, and shares practical recommendations for optimal PWA performance.

Caching StrategiesFrontendPWA
0 likes · 9 min read
Master Service Worker Caching with Workbox 3: Strategies & Code Samples
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Aug 7, 2018 · Backend Development

Understanding Distributed Caching: Use Cases, Memcached vs Redis Comparison, and Common Challenges

This article explains why distributed caching is essential for high‑concurrency systems, outlines typical use cases, compares Memcached and Redis across features and performance, and discusses common problems such as cache avalanche, penetration, warm‑up, update strategies, and degradation.

Caching StrategiesMemcachedRedis
0 likes · 8 min read
Understanding Distributed Caching: Use Cases, Memcached vs Redis Comparison, and Common Challenges