Terkwood/AugustDB

Binary SSTables

Terkwood opened this issue · 0 comments

Goal

Stop using TSV for SSTable storage. Use a binary format with explicit lengths for keys and values.

Format

value records

  1. Length of key in bytes
  2. Length of value in bytes
  3. Raw key, not escaped
  4. Raw value, not escaped

tombstone records

  1. Length of key in bytes
  2. -1 to indicate tombstone
  3. Raw key, not escaped

Subtasks

Notes