Tag

KeyDB

1 views collected around this technical thread.

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

DatabaseKeyDBLock
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-ReplicaDatabaseKeyDB
0 likes · 9 min read
KeyDB Multithreaded Architecture, Connection Management, Fastlock, and Active‑Replica Mechanism
Architecture Digest
Architecture Digest
Dec 20, 2023 · Databases

Understanding KeyDB: Architecture, Multithreaded Design, and Active Replication

KeyDB is a high‑performance, multithreaded fork of Redis that retains full protocol compatibility while adding features like Active Replication, flash storage support, and advanced locking, offering up to double the query throughput and reduced latency on the same hardware.

DatabaseKeyDBMultithreading
0 likes · 10 min read
Understanding KeyDB: Architecture, Multithreaded Design, and Active Replication
Java Architect Essentials
Java Architect Essentials
Mar 10, 2023 · Databases

KeyDB Overview: Multithreaded Architecture, Thread Model, Fastlock, and Active‑Replica

This article introduces KeyDB, a high‑performance Redis fork that adds multithreading, a redesigned thread model, a spin‑lock fastlock mechanism, and active‑replica capabilities, while remaining fully compatible with Redis protocols and offering up to double the throughput on the same hardware.

DatabaseKeyDBMultithreading
0 likes · 8 min read
KeyDB Overview: Multithreaded Architecture, Thread Model, Fastlock, and Active‑Replica