We use encoding/binary for serde. We need to standardize on a wire format that is scalable and also supports backward compatibility. encoding/binary encourages using gob or protobuf; I think protobuf has more benefits than gob because it is language agnostic and streaming is not implicit.
Use Cases
Backward compatibility
Language agnostic
Scalable
Affected components
### Components to change
- [ ] #1768
- [ ] #1779
- [ ] WAL storage serde using protobuf
Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.
Summary
We use encoding/binary for serde. We need to standardize on a wire format that is scalable and also supports backward compatibility.
encoding/binary
encourages usinggob
orprotobuf
; I thinkprotobuf
has more benefits thangob
because it is language agnostic and streaming is not implicit.Use Cases
Affected components
Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.