Tagged articles
13 articles
Page 1 of 1
Code Ape Tech Column
Code Ape Tech Column
Jun 22, 2025 · Databases

How KeyDB Transforms Redis with Multi‑Threading: Architecture & Locks

KeyDB, a Redis fork, replaces the single‑threaded design with a multi‑threaded architecture using a main thread and worker I/O threads, SO_REUSEPORT, per‑thread connection lists, fastlock spin‑lock mechanisms, asynchronous pipelines, and active‑replica support, enabling higher concurrency while remaining 100 % Redis‑compatible.

Connection ManagementKeyDBdatabase
0 likes · 8 min read
How KeyDB Transforms Redis with Multi‑Threading: Architecture & Locks
macrozheng
macrozheng
Feb 6, 2025 · Databases

How KeyDB Transforms Redis into a Multi‑Threaded Database

KeyDB, a Redis fork, replaces the single‑threaded architecture with a multi‑threaded model using a main thread and worker I/O threads, SO_REUSEPORT, per‑thread connection management, fastlock spin‑lock mechanisms, and active‑replica support, enabling concurrent data access and improved performance.

Connection ManagementKeyDBlocking
0 likes · 9 min read
How KeyDB Transforms Redis into a Multi‑Threaded Database
Java Architect Essentials
Java Architect Essentials
Feb 2, 2024 · Databases

Understanding KeyDB: Multithreaded Architecture, Connection Management, Fastlock, and Active‑Replica

This article introduces KeyDB, a high‑performance multithreaded fork of Redis, explaining its architecture, thread model, connection management, fastlock mechanism, and active‑replica features, while providing code examples and performance comparisons, and highlighting their impact on throughput and latency.

KeyDBLockReplication
0 likes · 10 min read
Understanding KeyDB: Multithreaded Architecture, Connection Management, Fastlock, and Active‑Replica
Selected Java Interview Questions
Selected Java Interview Questions
Dec 28, 2023 · Databases

KeyDB Multithreaded Architecture, Connection Management, Fastlock, and Active‑Replica Mechanism

This article explains how KeyDB, a multithreaded fork of Redis, restructures the original single‑threaded design by introducing worker threads, per‑thread connection handling, a fastlock spin‑lock implementation, and an active‑replica feature that enables writable replicas with conflict‑resolution using timestamped keys.

Active-ReplicaKeyDBLock
0 likes · 9 min read
KeyDB Multithreaded Architecture, Connection Management, Fastlock, and Active‑Replica Mechanism
Java Backend Technology
Java Backend Technology
Feb 24, 2023 · Databases

KeyDB vs Redis: Multithreaded Architecture, Fastlock & Active‑Replica Explained

KeyDB is a high‑performance, multithreaded fork of Redis that retains full protocol compatibility while offering double the query throughput, reduced latency, and features like Active‑Replication, fastlock spin‑locks, and advanced client‑connection management, making it a compelling drop‑in replacement for Redis deployments.

KeyDBactive-replicationfastlock
0 likes · 10 min read
KeyDB vs Redis: Multithreaded Architecture, Fastlock & Active‑Replica Explained
Big Data Technology & Architecture
Big Data Technology & Architecture
Oct 26, 2019 · Databases

KeyDB Multithreaded Architecture and Design Overview

KeyDB is a high‑performance, multithreaded fork of Redis that retains full Redis compatibility while delivering up to twice the query throughput and 60 % lower latency, and the article explains its thread model, connection management, fastlock mechanism, and active‑replica features in detail.

KeyDBLockReplication
0 likes · 7 min read
KeyDB Multithreaded Architecture and Design Overview
Java Backend Technology
Java Backend Technology
Oct 20, 2019 · Databases

How KeyDB Transforms Redis into a Multi‑Threaded Database

This article explains how KeyDB, a Redis fork, redesigns the single‑threaded architecture into a multi‑threaded model with worker threads, per‑thread connection management, a custom fastlock mechanism, and an active‑replica mode that enables writable replicas and conflict‑resolution using timestamps.

Connection ManagementKeyDBLock
0 likes · 7 min read
How KeyDB Transforms Redis into a Multi‑Threaded Database