Tag

RESP

0 views collected around this technical thread.

Ops Development Stories
Ops Development Stories
Mar 2, 2022 · Databases

Mastering Redis RESP Protocol: From Wire Format to Command Objects

This article explains how Redis uses the simple text‑based RESP protocol for client‑server communication, details each reply type, shows how to capture traffic with tcpdump, and dives into the internal C structures and error codes that power Redis commands.

C programmingDatabaseNetworking
0 likes · 17 min read
Mastering Redis RESP Protocol: From Wire Format to Command Objects
NetEase Game Operations Platform
NetEase Game Operations Platform
Jan 19, 2019 · Databases

Design and Implementation of Redis Application Layer Protocol (RESP) and Its Python Clients

This article explains the RESP protocol used by Redis, details its five data types, demonstrates pipeline handling with raw sockets, examines the parsing and command‑packing logic of the redis‑py client, analyzes the pipeline implementation and limitations of redis‑py‑cluster, and speculates on upcoming RESP3 features.

DatabasePythonRESP
0 likes · 20 min read
Design and Implementation of Redis Application Layer Protocol (RESP) and Its Python Clients