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

Concurrent operations #26

Open
mappum opened this issue Nov 15, 2019 · 1 comment
Open

Concurrent operations #26

mappum opened this issue Nov 15, 2019 · 1 comment

Comments

@mappum
Copy link
Collaborator

mappum commented Nov 15, 2019

Everything other than the RocksDB compaction is currently run in the same thread. We should be able to trivially split up the first pass (changing the tree structure) across N workers with no synchronization other than joining left and right. Splitting up the second pass (hashing and writing to RocksDB) can be done similarly, but will either require an efficient data structure for merging the different batches of RocksDB writes, or even possibly writing to RocksDB in separate workers with some kind of protocol to make the separate writes atomic (e.g. each is written with an OptimisticTransaction, with all of them committed in a single commit operation if possible).

@MuhtasimTanmoy
Copy link

Is this requirement active?

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