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

Rocks db window utils #1851

Merged
merged 3 commits into from
Nov 20, 2018
Merged

Conversation

carllin
Copy link
Contributor

@carllin carllin commented Nov 17, 2018

Problem

Need a separate set of window functions before replacing current window implementation with RocksDb implementation. @garious, we can replace RocksDb with a pure Rust implementation, but seeing as we've invested already in an initial implementation using RocksDb, we're interested in first seeing the performance of integrating these changes. (Integration PR is coming after this one gets merged)

Summary of Changes

Add a module for windowing functions based on RocksDb

Fixes #

@carllin carllin force-pushed the RocksDbWindowUtils branch 3 times, most recently from e3a7dcc to 153ef83 Compare November 17, 2018 01:38
src/db_ledger.rs Outdated
self.get(db, &key)
}

pub fn put_on_slot_index(
Copy link
Contributor

Choose a reason for hiding this comment

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

is there a precedent for "on", my brain wants to see "by"...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

that is indeed much better xD

src/db_window.rs Outdated
@@ -0,0 +1,583 @@
//! The `window` module defines data structure for storing the tail of the ledger.
Copy link
Contributor

Choose a reason for hiding this comment

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

huh?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

blast from the past

@carllin carllin force-pushed the RocksDbWindowUtils branch 2 times, most recently from 3830112 to e672864 Compare November 18, 2018 06:48
@garious
Copy link
Contributor

garious commented Nov 19, 2018

@carllin, mvines is OoO this week. No need to wait for his review.

@carllin carllin merged commit d9dabdf into solana-labs:master Nov 20, 2018
vkomenda pushed a commit to vkomenda/solana that referenced this pull request Aug 29, 2021
)

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 15.6.2 to 15.9.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

3 participants