Tagged articles
19 articles
Page 1 of 1
Architecture and Beyond
Architecture and Beyond
Nov 29, 2025 · Backend Development

How ComfyUI Caches Work: CLASSIC vs LRU vs RAM_PRESSURE Explained

This article breaks down ComfyUI's two‑level cache system, explains the differences between the CLASSIC, LRU, and RAM_PRESSURE strategies for outputs and objects, and offers practical guidance on choosing the right cache mode when running multiple models, LoRAs, and workflows on a single machine.

AI workflowsCache StrategiesComfyUI
0 likes · 19 min read
How ComfyUI Caches Work: CLASSIC vs LRU vs RAM_PRESSURE Explained
Tencent Cloud Developer
Tencent Cloud Developer
Aug 20, 2024 · Backend Development

Why Caching Is the Secret Weapon for High‑Performance Search Engines

This article analyzes real‑world search query characteristics, breaks down a typical search system architecture, classifies cacheable data, compares result‑level, intermediate‑value and multi‑layer caches, discusses update, prefetch and placement strategies, and highlights common pitfalls such as cache miss, consistency, and resource overhead.

BackendCache StrategiesOperations
0 likes · 19 min read
Why Caching Is the Secret Weapon for High‑Performance Search Engines
FunTester
FunTester
Jul 17, 2024 · Backend Development

Mastering Backend Caching: Strategies, Types, and Common Pitfalls

This article provides a comprehensive guide to backend caching, covering fundamental concepts, usage scenarios, read‑through and cache‑aside strategies, local and distributed cache types, popular services like Redis and Memcached, eviction algorithms such as FIFO, LRU, LFU, and common issues like consistency, avalanche, penetration, and stampede, along with practical mitigation techniques.

Backend DevelopmentCache EvictionCache Strategies
0 likes · 14 min read
Mastering Backend Caching: Strategies, Types, and Common Pitfalls
Tencent Cloud Developer
Tencent Cloud Developer
Jul 2, 2024 · Backend Development

Mastering Backend Caching: Strategies, Types, Eviction & Common Pitfalls

An in‑depth guide to backend caching covers read‑through and cache‑aside strategies, local versus distributed caches (including Redis and Memcached), eviction algorithms such as FIFO, LRU and LFU, and tackles consistency, avalanche, penetration and breakdown issues with practical mitigation techniques.

BackendCache StrategiesEviction Policies
0 likes · 12 min read
Mastering Backend Caching: Strategies, Types, Eviction & Common Pitfalls
Architecture and Beyond
Architecture and Beyond
May 18, 2024 · Backend Development

Comprehensive Guide to Caching Strategies and Implementation in Web Applications

This article explains the fundamentals of caching, enumerates various client‑side, server‑side and distributed cache types, describes common caching patterns and expiration policies, and highlights practical considerations to effectively improve web application performance and reliability.

BackendCache StrategiesPerformance Optimization
0 likes · 21 min read
Comprehensive Guide to Caching Strategies and Implementation in Web Applications
JD Cloud Developers
JD Cloud Developers
Dec 19, 2023 · Frontend Development

Mastering Offline Caching with Service Workers: A Deep Dive into PWA Strategies

This article explains how Progressive Web Apps use Service Workers to provide offline access, installability, push notifications, and responsive layouts, and it walks through registration, caching strategies, dynamic cache management, expiration handling, and practical code examples for robust offline experiences.

Cache StrategiesJavaScriptPWA
0 likes · 27 min read
Mastering Offline Caching with Service Workers: A Deep Dive into PWA Strategies
Programmer DD
Programmer DD
Jul 6, 2023 · Databases

Mastering Redis: Core Concepts, Cache Pitfalls & Interview Insights

This article explains Redis as an in‑memory key‑value NoSQL database, outlines its data types and high‑availability features, and details common cache problems such as avalanche, penetration and breakdown along with practical mitigation strategies, followed by interview commentary on how to discuss Redis effectively.

Cache StrategiesIn-Memory DatabaseInterview Tips
0 likes · 8 min read
Mastering Redis: Core Concepts, Cache Pitfalls & Interview Insights
Top Architect
Top Architect
Mar 18, 2022 · Backend Development

Cache Usage Techniques and Design Solutions: Benefits, Costs, Update Strategies, Granularity, and Optimizations

This article provides a comprehensive guide to cache usage, covering its performance benefits and costs, various update strategies, granularity control, and detailed optimizations for issues such as penetration, avalanche, hot key reconstruction, and distributed batch operations.

BackendCache StrategiesDistributed Systems
0 likes · 14 min read
Cache Usage Techniques and Design Solutions: Benefits, Costs, Update Strategies, Granularity, and Optimizations
Tencent Cloud Developer
Tencent Cloud Developer
Mar 7, 2022 · Backend Development

Comprehensive Guide to Caching: Concepts, Types, Strategies, and Best Practices

This comprehensive guide explains caching fundamentals, motivations, and hardware/software perspectives, details client, network, and server cache types, addresses common problems like breakdown, avalanche, and penetration with solutions, and covers strategies, consistency, expiration policies, distributed architectures, design best practices, and implementation examples.

Cache StrategiesDistributed SystemsPerformance Optimization
0 likes · 52 min read
Comprehensive Guide to Caching: Concepts, Types, Strategies, and Best Practices
Java Architect Essentials
Java Architect Essentials
Dec 27, 2021 · Backend Development

Cache Optimization Techniques and Design Strategies

This article comprehensively explains cache benefits and costs, usage scenarios, update policies, and advanced optimizations such as penetration protection, bottom‑hole mitigation, avalanche prevention, hot‑key rebuilding, and efficient batch operations, providing practical guidance for building high‑performance backend systems.

Cache Strategiescachingoptimization
0 likes · 13 min read
Cache Optimization Techniques and Design Strategies
IT Architects Alliance
IT Architects Alliance
Dec 17, 2021 · Backend Development

Mastering Cache: Strategies to Boost Performance and Avoid Common Pitfalls

This article examines the benefits, costs, and design patterns of caching—including update policies, granularity control, penetration, bottom‑hole, avalanche, and hot‑key issues—while offering concrete optimization techniques and practical recommendations for building robust Redis‑MySQL cache layers.

Backend DevelopmentCache StrategiesPerformance Optimization
0 likes · 15 min read
Mastering Cache: Strategies to Boost Performance and Avoid Common Pitfalls
IT Architects Alliance
IT Architects Alliance
Sep 2, 2021 · Backend Development

Mastering Cache Strategies: From Local Maps to Distributed Grids

The article categorizes data by change and access frequency, explains cache loading methods, compares local caches (Map, Guava, Spring) with remote solutions like Redis, Memcached, Hazelcast, and addresses common cache issues such as penetration, breakdown, and avalanche, offering practical mitigation techniques including Bloom filters, RoaringBitmap, and load‑balancing strategies.

Cache StrategiesGuavaJava
0 likes · 12 min read
Mastering Cache Strategies: From Local Maps to Distributed Grids
Top Architect
Top Architect
Aug 15, 2021 · Backend Development

Choosing and Implementing Distributed Cache Systems with Redis

This article reviews various cache system types, compares popular distributed caches such as Memcache, Tair, and Redis, explains Redis cluster high‑availability mechanisms, discusses sharding strategies, and outlines common cache problems and solutions, providing practical configuration examples for Java backend developers.

Backend DevelopmentCache StrategiesCluster
0 likes · 12 min read
Choosing and Implementing Distributed Cache Systems with Redis
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Dec 30, 2020 · Databases

Redis Memory Eviction Policies, Expiration Strategies, Cache Issues, Deployment Modes, and Persistence Mechanisms

This article explains Redis’s memory eviction policies, expiration strategies, common cache problems such as penetration, breakdown, and avalanche, outlines deployment modes, compares RDB and AOF persistence, and lists typical business scenarios for using Redis as a high‑performance key‑value store.

Cache StrategiesPersistencedatabase
0 likes · 9 min read
Redis Memory Eviction Policies, Expiration Strategies, Cache Issues, Deployment Modes, and Persistence Mechanisms
dbaplus Community
dbaplus Community
Apr 5, 2020 · Backend Development

Which Caching Strategy Is Right for Your Application? A Practical Guide

This article explains five common caching strategies—Cache‑Aside, Read‑Through, Write‑Through, Write‑Around, and Write‑Back—detailing how they work, their advantages and drawbacks, and how to choose the best fit based on data access patterns and performance goals.

BackendCache Strategiescaching
0 likes · 11 min read
Which Caching Strategy Is Right for Your Application? A Practical Guide
Amap Tech
Amap Tech
Aug 13, 2019 · Backend Development

Cache Strategies and Framework Selection for High‑Performance Systems

To achieve low‑latency, high‑throughput data access in systems like Gaode’s navigation service, the article advises evaluating CPU and I/O bottlenecks, choosing between local (HashMap/ConcurrentHashMap or Caffeine) and distributed caches (Redis preferred), applying appropriate eviction, TTL, and consistency patterns, and mitigating cache penetration, breakdown, and avalanche risks.

Cache Strategiescachingdistributed cache
0 likes · 26 min read
Cache Strategies and Framework Selection for High‑Performance Systems
Architects' Tech Alliance
Architects' Tech Alliance
Aug 29, 2018 · Backend Development

Comprehensive Guide to Effective Caching Strategies and Best Practices

This article explains when caching is needed, how to choose appropriate in‑process and distributed caches, design multi‑level cache architectures, handle cache updates, avoid common pitfalls such as penetration, breakdown and avalanche, and provides practical advice on serialization, GC tuning, monitoring, and framework selection.

Cache Strategiesdistributed cachelocal cache
0 likes · 19 min read
Comprehensive Guide to Effective Caching Strategies and Best Practices
JD Retail Technology
JD Retail Technology
May 24, 2018 · Frontend Development

Understanding PWA Caching: Principles, Performance Benefits, and Strategies

This article explains why traditional H5 pages perform poorly compared to native apps, introduces Progressive Web Apps (PWA) as a solution, details how service workers enable offline caching, presents real‑world performance comparisons, and reviews common cache strategies such as cache‑first, network‑first, stale‑while‑revalidate, cache‑only, and network‑only.

Cache StrategiesPWAService Worker
0 likes · 7 min read
Understanding PWA Caching: Principles, Performance Benefits, and Strategies