Tagged articles
Cache strategies
20 articles · Page 1 of 1
This guide explains API caching fundamentals, cache hit vs miss, multi‑layer cache hierarchies, common strategies such as cache‑aside and stale‑while‑revalidate, TTL tuning, event‑driven invalidation, avalanche prevention, HTTP cache directives, and key monitoring metrics to help engineers build resilient, high‑performance services.
API cachingCache strategiesTTL
0 likes · 10 min read

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 strategiesCaching
0 likes · 19 min read

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 strategiesCaching
0 likes · 19 min read

This article walks through a real‑world cache consistency bug in a high‑traffic push service, explains cache penetration, breakdown, and avalanche, compares strong and eventual consistency models, and presents practical cache update and invalidation strategies to prevent data mismatches.
BackendCacheCache strategies
0 likes · 14 min read

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.
Cache EvictionCache strategiesCaching
0 likes · 14 min read

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 strategiesCaching
0 likes · 12 min read

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 strategiesCaching
0 likes · 21 min read

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

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 strategiesInterview TipsNoSQL
0 likes · 8 min read

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 strategiesRedis
0 likes · 14 min read

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 strategiesCachingdistributed systems
0 likes · 52 min read

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

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.
Cache strategiesCachingRedis
0 likes · 15 min read

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.
Bloom FilterCache strategiesCaching
0 likes · 12 min read

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.
Cache strategiesCachingCluster
0 likes · 12 min read

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 strategiesRedisdatabase
0 likes · 9 min read

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

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 strategiesCachingRedis
0 likes · 26 min read

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

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
