Skip to content

Consider alternative to bincode for persisting structs in KV store #1101

@joepio

Description

@joepio

Bincode is fast and compact, but it's very sensitive to schema changes. If our Value / DataType enum changes, the schema might break, which means we need to build a sometimes quite complex migration.

Messagepack

  • Self describing, which means no external schema needed
  • A bit less fast and efficient than bincode as it's self-describing.

Protobuf

  • Requires an external schema, which we could probably build in some folder using build.rs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions