Tagged articles
11 articles
Page 1 of 1
Linux Cloud Computing Practice
Linux Cloud Computing Practice
Apr 12, 2024 · Databases

Why Is Redis So Fast? Uncover the Secrets Behind Its Performance

Redis achieves its remarkable speed through in‑memory storage, an efficient hash table design, single‑threaded execution that eliminates context switches, epoll‑based I/O multiplexing, progressive rehashing, and cached timestamps, all of which together enable near O(1) operations and minimal latency.

In-Memory DatabaseRehashSingle Thread
0 likes · 7 min read
Why Is Redis So Fast? Uncover the Secrets Behind Its Performance
Meituan Technology Team
Meituan Technology Team
Jul 26, 2018 · Databases

Understanding and Optimizing Redis Rehash Mechanism and Scan Behavior

The article details how Redis’s incremental rehashing can double memory usage and trigger massive key eviction and scan inconsistencies in large‑scale clusters, explains the underlying dictionary structures, demonstrates the cursor bug when tables shrink, and presents a memory‑guard and scan‑cursor patch that resolves both problems.

Memory ManagementRehashSCAN
0 likes · 26 min read
Understanding and Optimizing Redis Rehash Mechanism and Scan Behavior
360 Tech Engineering
360 Tech Engineering
May 22, 2018 · Databases

Understanding Redis Rehash Mechanism and Implementation

This article explains how Redis uses a dual‑hashtable structure and a progressive rehash process to handle hash collisions, detailing the rehash conditions, migration steps, and performance implications for in‑memory key‑value storage.

In-Memory DatabaseRehashhash table
0 likes · 6 min read
Understanding Redis Rehash Mechanism and Implementation
21CTO
21CTO
Mar 30, 2016 · Fundamentals

Choosing the Right Hash Algorithm: Thomas Wang vs. MurmurHash

This article explains how to select appropriate hash functions for different key types, compares Thomas Wang's integer mix function with MurmurHash for strings, and details rehash strategies, load factor thresholds, and value storage structures in hash tables.

Data StructuresMurmurHashRehash
0 likes · 6 min read
Choosing the Right Hash Algorithm: Thomas Wang vs. MurmurHash