Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binary SSTables #51

Closed
Terkwood opened this issue Jul 31, 2021 · 0 comments · Fixed by #68
Closed

Binary SSTables #51

Terkwood opened this issue Jul 31, 2021 · 0 comments · Fixed by #68
Labels
enhancement New feature or request

Comments

@Terkwood
Copy link
Owner

Terkwood commented Jul 31, 2021

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

@Terkwood Terkwood added the enhancement New feature or request label Jul 31, 2021
@Terkwood Terkwood pinned this issue Jul 31, 2021
@Terkwood Terkwood changed the title Improve file formats Binary SSTables Jul 31, 2021
@Terkwood Terkwood unpinned this issue Jul 31, 2021
@Terkwood Terkwood pinned this issue Aug 1, 2021
This was referenced Aug 1, 2021
@Terkwood Terkwood unpinned this issue Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant