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

refactor(DB): replace bincode with zero-copy serialization library #376

Open
1 of 4 tasks
jbcaron opened this issue Nov 5, 2024 · 0 comments
Open
1 of 4 tasks

refactor(DB): replace bincode with zero-copy serialization library #376

jbcaron opened this issue Nov 5, 2024 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@jbcaron
Copy link
Member

jbcaron commented Nov 5, 2024

Is there an existing issue?

  • I have searched the existing issues

Motivation

our current use of bincode for data serialization and storage in rocksDB is not optimal, as bincode is built on top of serde, which we would also like to avoid. We need to find a more suitable serialization library that provides efficient zero-copy serialization and deserialization capabilities, while also allowing us to easily serialize our data to JSON for our RPC methods.

Request

  • research and evaluate possible zero-copy serialization libraries, such as cap'n proto, rkyv or other solution.
  • implement a poc integration of the chosen library, ensuring that it meets our requirements for zero-copy serialization and JSON support.
  • migrate our existing bincode-based serialization code to the new library, ensuring a smooth transition and maintaining compatibility

Solution

No response

Are you willing to help with this request?

Yes!

@jbcaron jbcaron added this to Madara Nov 14, 2024
@jbcaron jbcaron changed the title replace bincode with zero-copy serialization library ref(DB): replace bincode with zero-copy serialization library Nov 14, 2024
@jbcaron jbcaron changed the title ref(DB): replace bincode with zero-copy serialization library refactor(DB): replace bincode with zero-copy serialization library Nov 14, 2024
@jbcaron jbcaron added the help wanted Extra attention is needed label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
Status: No status
Development

No branches or pull requests

1 participant