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

Store data as binary #197

Open
jasny opened this issue Jul 12, 2023 · 0 comments
Open

Store data as binary #197

jasny opened this issue Jul 12, 2023 · 0 comments

Comments

@jasny
Copy link
Member

jasny commented Jul 12, 2023

Data is stored as strings. This is taking up more disk space (with leveldb) and memory (with redis) than necessary. We can store the value as Uint8Array instead.

Note that Redis uses strings as keys. Either, only the value can be binary, or there should be a workaround.

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