y-octo
y-octo copied to clipboard
add binary format that supports partial reading and self-verification as a storage format
ybinary v1
is a binary format optimized for one-time network transmission.
It only supports overall reading and cannot know whether binary is damaged before the reading process goes wrong.
For specific analysis, please refer to this review:
https://github.com/toeverything/OctoBase/issues/383#issuecomment-1513577058
We need to design a binary format that supports partial reading and self-verification to store crdt state permanently and robustly