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

use protobufs to encode index values #1

Closed
mschoch opened this issue Jul 7, 2014 · 4 comments
Closed

use protobufs to encode index values #1

mschoch opened this issue Jul 7, 2014 · 4 comments

Comments

@mschoch
Copy link
Member

mschoch commented Jul 7, 2014

While we can't use them for the index keys which we craft to get the desired sort order, we should use protobufs to encode the index values. This will make the binary serialization/deserialization less error prone, more compact, and easier to evolve over time.

@tleyden
Copy link
Contributor

tleyden commented Jul 7, 2014

You might want to check out Cap'n Proto as an alternative to protobufs. I haven't used either yet, but @ajres has been talking about Cap'n Proto lately so I figured I'd mention it.

@mschoch
Copy link
Member Author

mschoch commented Jul 7, 2014

Thanks, @tleyden. Speed is key in this use case, so I will definitely take a look.

@mschoch
Copy link
Member Author

mschoch commented Aug 19, 2014

we now use protobufs for encoding the back index values

this was partly due to the complexity of the back index structure increasing, and also a useful way to see how we liked using protobufs here.

@mschoch
Copy link
Member Author

mschoch commented Jun 26, 2016

Nothing actionable here any more.

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

No branches or pull requests

2 participants