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

Wip: Binary serialization using Flatbuffers #92

Draft
wants to merge 1 commit into
base: next
Choose a base branch
from
Draft

Conversation

aravindet
Copy link
Collaborator

Why?

  • A Graffy-specific binary serialization of the will reduce bandwidth needs
  • As part of this effort, we will keep encoded keys within Graffy as UInt8Arrays rather than Base64 strings, reducing processing and memory needs.

Why flatbuffers?

  • Flatbuffers may allow Graffy to perform a lot of the processing of queries and results in binary blobs, without ever de-serializing them. (This is in contrast with, eg. Protobuf.)
  • The motivating use case is Graffy reverse proxies or load balancers. The goal is that these services (which will merge overlapping queries from different clients and split queries across backend partitions / shards) never have to de-serialize the binary.

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

Successfully merging this pull request may close these issues.

None yet

1 participant