Five boxes show bytes 00 FF E8 8C B6 at offsets 0–4. A bracket groups the last three as UTF-8 茶; STRLEN is 5.

Redis strings store bytes without a fixed schema

A Redis string is one binary-safe byte sequence attached to a key. It can hold text, a serialized document, or a decimal counter. This is a public data type, not a claim that every Redis structure is implemented by assembling strings. Hashes, lists, and other types have their own commands, representations, and update rules. ...

January 28, 2027 · 6 min · XB Field Notes
SET counter 4, INCR and GET have known arguments and yield ordered replies True, 5 and bytes 5 in the source exercise. A plain pipeline adds no MULTI or EXEC and an error does not cancel later submitted commands.

Redis pipelining reduces per-command waits

Pipelining lets a client send several Redis commands without waiting for each reply before sending the next. It reduces request-response waiting and can amortize socket I/O overhead. Redis still executes the commands and produces their replies; batching is neither a promise of parallel execution nor a transaction boundary. ...

January 20, 2027 · 6 min · XB Field Notes
Five known Sentinel observers illustrate quorum two for failure agreement and majority three for failover authorization.

Sentinel has two gates: schematic.

Redis Sentinel coordinates primary failover

Redis Sentinel supervises a non-Cluster primary/replica deployment and publishes the current primary’s address. It does not store the application’s dataset or proxy its commands. Automatic promotion can restore write availability after a primary fails, but discovery, replica freshness, client reconnection, and protection from stale writers remain separate parts of the system. ...

January 9, 2027 · 7 min · XB Field Notes