Tagged articles
3 articles
Page 1 of 1
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.

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