Tagged articles
33 articles
Page 1 of 1
Java Tech Enthusiast
Java Tech Enthusiast
Jan 4, 2024 · Databases

Redis Simple Dynamic String (SDS) Implementation Overview

Redis implements its own Simple Dynamic String (SDS) instead of plain C strings because SDS stores length for O(1) queries, pre‑allocates extra space and lazily reuses freed bytes, prevents buffer overflows, handles binary data, and uniformly backs all string keys, values and container elements.

C languageMemory ManagementSDS
0 likes · 8 min read
Redis Simple Dynamic String (SDS) Implementation Overview
政采云技术
政采云技术
Aug 3, 2023 · Backend Development

Understanding Redis String Memory Overhead and Optimization Techniques

This article explains why Redis String types can consume excessive memory, examines the underlying Simple Dynamic String (SDS) structure and its three encoding modes, and demonstrates how using compressed lists (ziplist) and hash‑based storage can significantly reduce memory usage in backend applications.

SDSdata-structuresmemory-optimization
0 likes · 10 min read
Understanding Redis String Memory Overhead and Optimization Techniques
NiuNiu MaTe
NiuNiu MaTe
Feb 22, 2023 · Databases

Master Redis String Internals: Common Interview Questions & Answers

This article reviews essential Redis string concepts, covering typical interview questions, encoding types, the EMBSTR threshold, SDS structure, and memory allocation details to help readers solidify their understanding of Redis string implementation.

BackendMemory ManagementSDS
0 likes · 8 min read
Master Redis String Internals: Common Interview Questions & Answers
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
Architects' Tech Alliance
Architects' Tech Alliance
Dec 6, 2022 · Cloud Computing

Evolution of Hyper‑Converged Infrastructure, Distributed Storage, and Hybrid Cloud

The article examines the development of hyper‑converged infrastructure (HCI), its relationship with software‑defined storage, the shift toward hybrid cloud solutions, hardware choices, and the suitability of distributed storage for critical business workloads, providing a comprehensive overview of modern cloud‑centric storage architectures.

Hyper-ConvergedInfrastructureSDS
0 likes · 12 min read
Evolution of Hyper‑Converged Infrastructure, Distributed Storage, and Hybrid Cloud
ITPUB
ITPUB
Jul 6, 2022 · Databases

Unveiling Redis’s Hidden Data Structures: From SDS to Dictionaries

This article explores Redis’s internal data structures—including simple dynamic strings, linked lists, and dictionaries—detailing their encoding constants, implementation differences across versions, performance advantages, and rehashing mechanisms that enable high‑throughput, memory‑efficient operations.

Data StructuresSDSdictionary
0 likes · 17 min read
Unveiling Redis’s Hidden Data Structures: From SDS to Dictionaries
ITPUB
ITPUB
Jun 3, 2022 · Backend Development

Unlocking Redis Speed: A Deep Dive into Its Core Data Structures

This article explains why Redis is ultra‑fast by exploring its in‑memory design and the nine fundamental data structures—SDS, linked lists, ziplist, hash tables, skiplist, intset, quicklist, and listpack—that power keys, values, and internal objects, complete with code examples and version‑specific changes.

Backend DevelopmentData StructuresMemory Optimization
0 likes · 45 min read
Unlocking Redis Speed: A Deep Dive into 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
Wukong Talks Architecture
Wukong Talks Architecture
Jul 21, 2021 · Fundamentals

Understanding Redis Simple Dynamic Strings (SDS): Structure, Benefits, and Memory Management

This article explains the Redis Simple Dynamic String (SDS) data structure, comparing it with traditional C strings, detailing its struct layout, O(1) length retrieval, pre‑allocation strategy, lazy space release, and provides code examples illustrating how SDS avoids buffer overflows and improves performance.

C stringsData StructuresMemory Management
0 likes · 11 min read
Understanding Redis Simple Dynamic Strings (SDS): Structure, Benefits, and Memory Management
ITPUB
ITPUB
Sep 11, 2020 · Fundamentals

How Redis Implements Binary‑Safe Strings with Simple Dynamic Strings (SDS)

This article explains the design and evolution of Redis's Simple Dynamic Strings (SDS), covering the original pre‑3.2 structure, the newer type‑specific headers, the core API functions for creating, clearing, and concatenating SDS objects, and the memory‑reallocation strategy that ensures binary safety and efficient storage.

Binary SafetyData StructuresMemory Management
0 likes · 13 min read
How Redis Implements Binary‑Safe Strings with Simple Dynamic Strings (SDS)
Architecture Digest
Architecture Digest
Mar 27, 2020 · Databases

Understanding Redis Memory Model: Objects, Allocation, and Internal Encoding

This article explains Redis's memory model by describing how to query memory usage, the roles of used_memory, used_memory_rss, mem_fragmentation_ratio, and mem_allocator, and then dives into the internal structures such as redisObject, SDS, jemalloc, and the encoding strategies for strings, lists, hashes, sets, and sorted sets.

Data StructuresMemory ManagementSDS
0 likes · 28 min read
Understanding Redis Memory Model: Objects, Allocation, and Internal Encoding
dbaplus Community
dbaplus Community
Mar 19, 2020 · Databases

Inside Redis: A Deep Dive into Its Core Data Structures

This article explains the internal implementations of Redis’s five major data structures—simple dynamic strings (SDS), linked lists, dictionaries, skiplists, integer sets, and ziplists—detailing their definitions, memory layouts, key characteristics, and how Redis leverages them for high‑performance storage and retrieval.

Data StructuresDatabase InternalsSDS
0 likes · 12 min read
Inside Redis: A Deep Dive into Its Core Data Structures
ITPUB
ITPUB
Mar 12, 2020 · Backend Development

Why Redis Uses Its Own String Type (SDS) and How It Boosts Performance

The article explains Redis's custom Simple Dynamic String (SDS) implementation, its memory layout, dynamic resizing rules, and performance benefits such as O(1) length retrieval, buffer‑overflow protection, and reduced allocation overhead through pre‑allocation and lazy reclamation.

SDSString Implementationperformance
0 likes · 7 min read
Why Redis Uses Its Own String Type (SDS) and How It Boosts Performance
MaGe Linux Operations
MaGe Linux Operations
Dec 25, 2018 · Databases

Unlocking Redis: How Its Memory Model Impacts Performance and Cost

This article explains Redis's memory model—including memory statistics, allocation strategies, object types, internal encodings, and practical optimization techniques—so developers can accurately estimate memory usage, reduce fragmentation, and improve overall system efficiency.

Memory ModelSDSjemalloc
0 likes · 31 min read
Unlocking Redis: How Its Memory Model Impacts Performance and Cost
MaGe Linux Operations
MaGe Linux Operations
Apr 29, 2018 · Backend Development

Unlock Redis Performance: Deep Dive into Its Memory Model and Optimization

This article explains Redis's memory model—including memory statistics, allocation, object structures, internal encoding, and practical optimization techniques—so developers can accurately estimate memory usage, reduce fragmentation, and choose the most efficient data representations for high‑performance applications.

Memory ModelSDSjemalloc
0 likes · 32 min read
Unlock Redis Performance: Deep Dive into Its Memory Model and Optimization
Architects' Tech Alliance
Architects' Tech Alliance
Aug 18, 2016 · Cloud Computing

Understanding the Evolution and Competition Between Traditional and Emerging Storage Technologies

The article analyzes how cloud-native, distributed, and software‑defined storage solutions are reshaping the enterprise storage market, compares them with traditional high‑reliability systems, and offers guidance on selecting, integrating, and migrating storage technologies based on business scenarios, cost, and performance considerations.

Big DataEnterpriseSDS
0 likes · 10 min read
Understanding the Evolution and Competition Between Traditional and Emerging Storage Technologies
Architects' Tech Alliance
Architects' Tech Alliance
Jun 29, 2016 · Cloud Computing

Software-Defined Storage: Principles, Practices, and Ecosystem – An Overview and Book Recommendation

This article introduces the concept, origins, technical background, classifications, and future directions of software-defined storage (SDS), while recommending the book “Software-Defined Storage: Principles, Practices, and Ecosystem” as a comprehensive guide for practitioners and enthusiasts.

Data ManagementSDSStorage Virtualization
0 likes · 8 min read
Software-Defined Storage: Principles, Practices, and Ecosystem – An Overview and Book Recommendation
Efficient Ops
Efficient Ops
Sep 16, 2015 · Operations

What Is Software‑Defined Storage and Why It’s Shaping the Future of IT

This article explains the concept, classifications, and evolution of Software‑Defined Storage (SDS), covering its origins, control‑plane and data‑plane distinctions, various vendor implementations, and its impact on modern data‑center automation and cloud infrastructures.

SDSSoftware-Defined StorageStorage Virtualization
0 likes · 21 min read
What Is Software‑Defined Storage and Why It’s Shaping the Future of IT