Tagged articles

LRU

112 articles · Page 2 of 2
ITPUB
ITPUB
Jun 23, 2017 · Databases

Inside MySQL InnoDB Buffer Pool: Architecture, Data Structures, and Optimization

This article provides an in‑depth technical walkthrough of MySQL InnoDB's Buffer Pool, covering its core data structures, instance layout, LRU and Flush list management, memory allocation strategies, read‑ahead/write‑ahead mechanisms, double‑write buffering, and the specialized threads that keep the pool efficient.

Buffer PoolDatabase InternalsInnoDB
0 likes · 39 min read
Inside MySQL InnoDB Buffer Pool: Architecture, Data Structures, and Optimization
ITPUB
ITPUB
Mar 27, 2017 · Backend Development

Mastering Cache Algorithms: From LRU to LFU and Beyond

This article explains why caching is essential, defines core concepts such as hits, misses, and costs, compares major replacement policies (LRU, LFU, FIFO, ARC, etc.), and provides Java code examples for implementing these algorithms in a backend system.

BackendJavaLFU
0 likes · 19 min read
Mastering Cache Algorithms: From LRU to LFU and Beyond
ITPUB
ITPUB
Jan 21, 2017 · Databases

How Redis Implements LRU Eviction: Deep Dive with Python Example

This article explains Redis's LRU eviction mechanism, starting with a brief LRU overview, presenting a Python LRU cache implementation, then detailing Redis's internal LRU clock, object fields, maxmemory policies, and both active and passive eviction processes, highlighting configuration impacts on performance.

Cache EvictionLRUPython
0 likes · 15 min read
How Redis Implements LRU Eviction: Deep Dive with Python Example
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.

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

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

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

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

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

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

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