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

data compression #3

Open
3 tasks
davidtai opened this issue Nov 21, 2019 · 0 comments
Open
3 tasks

data compression #3

davidtai opened this issue Nov 21, 2019 · 0 comments

Comments

@davidtai
Copy link

Start sending binary data instead of json strings.
https://github.com/LangZhai/json-bufferify
https://socket.io/docs/#Binary-support

Start sending diffs after the initial connection state
https://www.npmjs.com/package/@clipchamp/json-delta

  • Convert to sending ArrayBuffers instead of JSON strings
  • Convert to sending diffs instead of full jsons

Acceptance Criteria:

  • Data serialization is faster and we transfer less data so we have the option to increase the rate of data refresh.
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