The profile hash contains name Ada L, visits 0, and empty bytes. An arrow selects visits with HGET, leaving the other fields in the record.

A Redis hash stores many fields in one key

A Redis hash is a field-addressable record under one key, not a schema-checked object or an automatically nested document. It is useful when callers need a few attributes without replacing the whole record. That advantage depends on access patterns, field sizes, and the meaning of replies, not merely on choosing the hash type. ...

February 24, 2028 · 7 min · XB Field Notes
Eight byte cells for A, 中 and a native vector smile labeled U+1F642 are grouped one plus three plus four. Two chunk cuts cross multibyte sequences; partial bytes must be carried.

UTF-8 preserves text only when byte boundaries and decoding rules agree

UTF-8 encodes Unicode scalar values using one to four bytes. ASCII characters retain their familiar one-byte representation, while many other characters need longer sequences. This makes UTF-8 a useful interchange format, but it does not make arbitrary bytes valid text or every byte offset a character boundary. Correct handling requires an agreed encoding, strict validity rules where appropriate, and a clear distinction between bytes and decoded text. ...

December 2, 2026 · 5 min · XB Field Notes