System Design Notes: Redis Serialization Protocol (RESP)

Unlike many web services that use HTTP, Redis uses a custom protocol known as the Redis Serialization Protocol (RESP) for communication between clients and servers. What is RESP? RESP, or Redis Serialization Protocol, is the wire protocol used by Redis clients (including redis-cli) to communicate with the Redis server. It defines the way data is serialized and transmitted over the network. A wire protocol is the formal specification of how data is formatted and exchanged between two systems over a network connection. — Wikipedia ...

July 12, 2025 · 3 min · Nimendra

System Design Notes: Redis Pub/Sub with Go

Redis is often described as a data structure server. In addition to being a key-value store, Redis offers features such as caching (like Memcached), queues, and Pub/Sub messaging. This article focuses on the Pub/Sub (publish-subscribe) pattern in Redis, how it works, its characteristics, and how to use it effectively with Go. What is Redis Pub/Sub? In Redis, a client can publish messages to a named channel, and other clients can subscribe to receive those messages from that channel. ...

July 10, 2025 · 3 min · Nimendra