Redis Essentials: Data Structures and Real-World Implementation Strategies
Overview of Redis
Redis (Remote Dictionary Server) is an open-source, in-memory data structure store used as a database, cache, and message broker. In high-concurrency environments, traditional relational databases often suffer from disk I/O bottlenecks and scaling limitations. Redis addresses these by keeping data in RAM and utilizing a highly ...
Posted on Sun, 21 Jun 2026 17:58:13 +0000 by Wynder
Redis Cache Technology: Installation, Configuration, and Advanced Usage
Redis Installation and Setup
Redis 5.0+ requires GCC 9.0 or higher for compilation.
# Download and extract
wget http://download.redis.io/releases/redis-3.2.12.tar.gz
tar xzf redis-3.2.12.tar.gz
mv redis-3.2.12 /data/redis
# Build from source
cd /data/redis
make
# Configure environment
vim /etc/profile
export PATH=/data/redis/src:$PATH
source ...
Posted on Wed, 17 Jun 2026 18:02:12 +0000 by blackwinged
Implementing an O(1) LFU Cache Algorithm
LRU vs. LFU Eviction PoliciesLeast Recently Used (LRU) and Least Frequently Used (LFU) are common cache eviction strategies. LRU tracks the time since last access, evicting the oldest entry when capacity is reached. LFU prioritizes access frequency, evicting entries with the lowest hit count. When multiple entries share the same minimum frequen ...
Posted on Sun, 07 Jun 2026 18:13:51 +0000 by jordan
Controlling Component Cache Behavior During Route Navigation in RuoYi
Route-Level Cache Control
In RuoYi framework, you can prevent specific routes from using cached components by modifying the route configuration in src/api/router/index.js. Add the noCache: true parameter to the route's meta object:
{
path: '/storage',
component: Layout,
hidden: true,
redirect: 'noredirect',
children: [
{
pat ...
Posted on Thu, 14 May 2026 03:18:11 +0000 by Jeroen_nld
Kubernetes Client-Go Cache Mechanism: Indexer and ThreadSafeStore Internals
The client-go caching layer relies heavily on the Indexer and ThreadSafeStore abstractions to maintain a local object store. This architecture minimizes direct API server requests by enabling efficient in-memory lookups and multi-dimensional indexing.
Indexer Interface
The Indexer interface extends the base Store contract by introducing retriev ...
Posted on Sat, 09 May 2026 09:00:54 +0000 by erfg1