Tagged articles

LRU

106 articles · Page 2 of 2
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.

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.

CachingImage processingLRU
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