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

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

replace bincode with zero-copy serialization library #376

jbcaron opened this issue Nov 5, 2024 · 0 comments

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant