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

Move to more efficient message format #21

Open
realityforge opened this issue Mar 25, 2020 · 1 comment
Open

Move to more efficient message format #21

realityforge opened this issue Mar 25, 2020 · 1 comment

Comments

@realityforge
Copy link
Member

Currently, we a hand-written json format that is inefficient at runtime and costly to maintain. We should consider moving to an external wire-format that is fast, binary.

Candidates include:

realityforge added a commit that referenced this issue Mar 25, 2020
@realityforge
Copy link
Member Author

It seems like the most runtime and transport size efficient form is Flatbuffers which has no generated javascript form (but could have one based on TypedArray if we desired) while a protobuf variant with generated types seems easiest to use, if slightly less efficient.

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

No branches or pull requests

1 participant