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

Add sled backend and cleanup RocksDb type #858

Merged
merged 10 commits into from
Nov 21, 2020
Merged

Add sled backend and cleanup RocksDb type #858

merged 10 commits into from
Nov 21, 2020

Conversation

austinabell
Copy link
Contributor

Summary of changes
Changes introduced in this pull request:

  • Alternate backend, https://github.com/spacejam/sled (ignored by default)
    • I just wanted to be able to profile the db better and see if this gave better performance (it hasn't for the specific use cases I've checked so far, main issue is bulk writes is exponentially slower)
  • Cleans up RocksDb type
    • been bugging me for a while, I just needed a reason to fix it

Reference issue to close (if applicable)

Closes

Other information and links

// Copyright 2020 ChainSafe Systems
// SPDX-License-Identifier: Apache-2.0, MIT

#![cfg(feature = "sled")]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this implied by the #[cfg(feature = "sled")] on pub mod sled;?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, yeah, I had it this way before and forgot to remove (I'll remove this as well as I didn't remove from the rocksdb redundant one as well)

@austinabell austinabell merged commit 1b4dd61 into main Nov 21, 2020
@austinabell austinabell deleted the austin/sled branch November 21, 2020 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants