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

shower thought: store the top of the tree as a single node #448

Open
gballet opened this issue Jun 7, 2024 · 1 comment
Open

shower thought: store the top of the tree as a single node #448

gballet opened this issue Jun 7, 2024 · 1 comment

Comments

@gballet
Copy link
Owner

gballet commented Jun 7, 2024

in the new path-based storage model, we have a series of layers, to represent updates to the tree. the top layer will always be updated, so it makes sense to store all of it in a single field and save many key, values and therefore many writes. only write about 8kb of data... or don't even store it into the db.

@gballet
Copy link
Owner Author

gballet commented Jun 7, 2024

another idea is to store it with compressed points, as these points can be serialized/deserialized together, thus amortizing the cost.

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

No branches or pull requests

1 participant