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

RoundTripEnvelope should use a more compact data format #6

Closed
muse254 opened this issue Jan 14, 2025 · 1 comment
Closed

RoundTripEnvelope should use a more compact data format #6

muse254 opened this issue Jan 14, 2025 · 1 comment
Labels
question Further information is requested

Comments

@muse254
Copy link
Owner

muse254 commented Jan 14, 2025

Problem

If you compare the encoded data for file assets that is sent encoded to JSON, we have a scenario where ~300kb file asset becomes a ~2MB json payload.
A good approach would be to create or use custom binary encoding formats to optimise for size. This would be perfectly backwards compatible with the current API we have in place.
More on this: https://stackoverflow.com/questions/49096721/json-transfer-vs-binary-transfer

@muse254 muse254 added the question Further information is requested label Jan 14, 2025
@muse254
Copy link
Owner Author

muse254 commented Jan 14, 2025

succeeded by globe-and-citizen/layer8-primitives-rs#5

@muse254 muse254 closed this as completed Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant