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

Experiment with BoltDB buckets #1586

Closed
roman-khimov opened this issue Dec 1, 2020 · 2 comments
Closed

Experiment with BoltDB buckets #1586

roman-khimov opened this issue Dec 1, 2020 · 2 comments
Assignees

Comments

@roman-khimov
Copy link
Member

We can use BoltDB buckets instead of key prefixes simplifying key creation and likely improving performance. But this will require us to change the generic DB interface (Store) adding prefixes explicitly to delete/get/put/seek operations, so the main question is --- is it worth the trouble? Only BoltDB supports that, so other DBs will still have to play with prefixes. We need to try it out with DB restore and neo-bench and then make some decision.

@roman-khimov
Copy link
Member Author

An easy way to try it out is to strip out the prefix in the DB backend.

@roman-khimov
Copy link
Member Author

See #1748.

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

2 participants