Tagged articles
7 articles
Page 1 of 1
Sohu Tech Products
Sohu Tech Products
Sep 13, 2023 · Backend Development

Unlocking Redis Streams: How Radix Tree & Listpack Power Modern MQs

This article explains why using Redis List for a message queue is limited, introduces Redis Stream as a purpose‑built MQ with consumer groups, ACKs, and persistence, and dives into its internal Radix‑Tree and listpack structures, command usage, and memory‑saving techniques.

BackendListpackMessage Queue
0 likes · 14 min read
Unlocking Redis Streams: How Radix Tree & Listpack Power Modern MQs
NiuNiu MaTe
NiuNiu MaTe
Mar 9, 2023 · Databases

Understanding Redis Ziplist and Listpack: Memory‑Efficient List Implementations

This article explains Redis's compressed list structures—ZIPLIST and its successor LISTPACK—detailing their layouts, encoding schemes, query and update complexities, and how LISTPACK resolves ZIPLIST's chain‑update performance issues to provide a more memory‑efficient list implementation.

Backend DevelopmentData StructuresListpack
0 likes · 10 min read
Understanding Redis Ziplist and Listpack: Memory‑Efficient List Implementations
Su San Talks Tech
Su San Talks Tech
Jan 16, 2023 · Backend Development

Why Is Redis So Fast? Unveiling Its Core Data Structures

This article explains how Redis achieves high performance by storing data in memory and using a variety of specialized data structures—such as SDS, quicklist, listpack, hash tables, and skip lists—to implement its key‑value store, covering their designs, trade‑offs, and evolution across Redis versions.

Data StructuresListpackQuicklist
0 likes · 49 min read
Why Is Redis So Fast? Unveiling Its Core Data Structures
dbaplus Community
dbaplus Community
Mar 6, 2022 · Backend Development

Why Is Redis So Fast? Unveiling Its Core Data Structures

This article explains how Redis achieves high performance by using specialized in‑memory data structures such as SDS, quicklist, listpack, hash tables, skip‑lists and integer sets, detailing their design, evolution across versions, memory‑efficiency tricks, and the trade‑offs that make Redis a lightning‑fast key‑value store.

Data StructuresListpackQuicklist
0 likes · 43 min read
Why Is Redis So Fast? Unveiling Its Core Data Structures