Binary SSTables
Terkwood opened this issue · 0 comments
Terkwood commented
Goal
Stop using TSV for SSTable storage. Use a binary format with explicit lengths for keys and values.
Format
value records
- Length of key in bytes
- Length of value in bytes
- Raw key, not escaped
- Raw value, not escaped
tombstone records
- Length of key in bytes
- -1 to indicate tombstone
- Raw key, not escaped