Tagged articles

LRU

108 articles · Page 2 of 2
Baidu Maps Tech Team
Baidu Maps Tech Team
May 11, 2016 · Backend Development

Mastering Cache Strategies: When to Use LRU, LFU, and Consistency Techniques

This article explains why caching is essential for high‑performance data retrieval, compares LRU and LFU eviction policies, presents three Redis‑based cache implementations, and discusses consistency challenges and solutions such as eviction ordering, consistent hashing, and delayed eviction in distributed systems.

LFULRURedis
0 likes · 10 min read
Mastering Cache Strategies: When to Use LRU, LFU, and Consistency Techniques
21CTO
21CTO
Mar 1, 2016 · Backend Development

Mastering Cache Algorithms: From LRU to LFU with Java Implementations

This article explains the fundamentals of caching, why caches are needed, describes common replacement policies such as LRU, LFU, FIFO, ARC, and provides Java code examples for each algorithm, helping developers choose and implement the right cache strategy for their applications.

LFULRUbackend
0 likes · 19 min read
Mastering Cache Algorithms: From LRU to LFU with Java Implementations
21CTO
21CTO
Jan 23, 2016 · Backend Development

From Interview Blunders to Cache Algorithms: A Deep Dive into Caching

The article blends a humorous interview scenario with a thorough explanation of caching concepts, including definitions, hit/miss mechanics, eviction strategies, and detailed Java implementations of algorithms such as LFU, LRU, FIFO, ARC, and Random Cache, illustrating how to choose and code cache policies.

LFULRUcache algorithms
0 likes · 22 min read
From Interview Blunders to Cache Algorithms: A Deep Dive into Caching
Architect
Architect
Dec 10, 2015 · Databases

Understanding Redis maxmemory Configuration and Approximate LRU Eviction Policies

Redis provides a configurable maxmemory setting to limit memory usage, and offers several eviction policies—including allkeys‑lru, volatile‑lru, and random strategies—implemented via an approximate LRU algorithm whose behavior can be tuned with maxmemory‑samples, allowing administrators to balance performance and memory reclamation.

LRUMemory ManagementRedis
0 likes · 11 min read
Understanding Redis maxmemory Configuration and Approximate LRU Eviction Policies
Architect
Architect
Dec 1, 2015 · Backend Development

Cache Update Strategies: LRU/LFU/FIFO, Timeout Eviction, and Proactive Refresh

The article reviews three cache update strategies—algorithmic eviction (LRU/LFU/FIFO), timeout‑based eviction, and proactive updates—analyzing their consistency guarantees and maintenance costs, and then proposes a combined best‑practice approach for reliable backend caching.

LRUbackendeviction
0 likes · 7 min read
Cache Update Strategies: LRU/LFU/FIFO, Timeout Eviction, and Proactive Refresh
21CTO
21CTO
Aug 31, 2015 · Backend Development

Boost Image Delivery Speed with Bolt: A Fast Real-Time Image Resizing Server

Bolt is a high‑performance real‑time image cropping and compression server that processes each image only once, uses an LRU cache to limit memory, and offers flexible command‑line options for installation, usage, and scaling on CPU‑rich servers.

LRUcachingimage processing
0 likes · 4 min read
Boost Image Delivery Speed with Bolt: A Fast Real-Time Image Resizing Server
Qunar Tech Salon
Qunar Tech Salon
Jun 20, 2015 · Backend Development

Understanding Memcached Slab Allocation and LRU Behavior

This article explains how to start Memcached with specific parameters, describes the resulting slab class configuration, illustrates memory allocation with pages, chunks, and slabs, and discusses item placement, waste, and the per‑slab LRU eviction policy in detail.

LRUMemcachedSlab Allocation
0 likes · 7 min read
Understanding Memcached Slab Allocation and LRU Behavior