Skip to content

opt(snapshot): use full table copy when streaming the entire data #7870

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

Merged
merged 1 commit into from
May 28, 2021

Conversation

NamanJain8
Copy link
Contributor

@NamanJain8 NamanJain8 commented May 28, 2021

When streaming the entire data in the snapshot (snap.SinceTs=0), we can do an entire table copy instead of iterating over the KVs. This brings about 3x performance improvement, as well as the CPU of the sender, is idle. Refer hypermodeinc/badger#1700 for more details.


This change is Reviewable

Copy link
Contributor

@jarifibrahim jarifibrahim left a comment

Choose a reason for hiding this comment

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

@NamanJain8 Please do a local snapshot transfer test before merging this PR.

@NamanJain8
Copy link
Contributor Author

NamanJain8 commented May 28, 2021

@jarifibrahim Verified this locally with encrypted/unencrypted DB of 1M dataset. It works fine.

@NamanJain8 NamanJain8 merged commit 0d82277 into master May 28, 2021
@NamanJain8 NamanJain8 deleted the naman/snapshot-3x branch May 28, 2021 17:09
mangalaman93 pushed a commit that referenced this pull request Mar 7, 2023
)

When streaming the entire data in the snapshot (snap.SinceTs=0), we can do
an entire table copy instead of iterating over the KVs. This brings about
3x performance improvement, as well as the CPU of the sender, is idle.
Refer hypermodeinc/badger#1700 for more details.
mangalaman93 added a commit that referenced this pull request Mar 7, 2023
)

When streaming the entire data in the snapshot (snap.SinceTs=0), we can do
an entire table copy instead of iterating over the KVs. This brings about
3x performance improvement, as well as the CPU of the sender, is idle.
Refer hypermodeinc/badger#1700 for more details.
mangalaman93 added a commit that referenced this pull request Mar 7, 2023
)

When streaming the entire data in the snapshot (snap.SinceTs=0), we can do
an entire table copy instead of iterating over the KVs. This brings about
3x performance improvement, as well as the CPU of the sender, is idle.
Refer hypermodeinc/badger#1700 for more details.
mangalaman93 added a commit that referenced this pull request Mar 15, 2023
)

When streaming the entire data in the snapshot (snap.SinceTs=0), we can do
an entire table copy instead of iterating over the KVs. This brings about
3x performance improvement, as well as the CPU of the sender, is idle.
Refer hypermodeinc/badger#1700 for more details.
mangalaman93 added a commit that referenced this pull request May 17, 2023
)

When streaming the entire data in the snapshot (snap.SinceTs=0), we can do
an entire table copy instead of iterating over the KVs. This brings about
3x performance improvement, as well as the CPU of the sender, is idle.
Refer hypermodeinc/badger#1700 for more details.
mangalaman93 added a commit that referenced this pull request Jun 7, 2023
)

When streaming the entire data in the snapshot (snap.SinceTs=0), we can do
an entire table copy instead of iterating over the KVs. This brings about
3x performance improvement, as well as the CPU of the sender, is idle.
Refer hypermodeinc/badger#1700 for more details.
mangalaman93 added a commit that referenced this pull request Jun 12, 2023
)

When streaming the entire data in the snapshot (snap.SinceTs=0), we can do
an entire table copy instead of iterating over the KVs. This brings about
3x performance improvement, as well as the CPU of the sender, is idle.
Refer hypermodeinc/badger#1700 for more details.
mangalaman93 added a commit that referenced this pull request Jul 19, 2023
)

When streaming the entire data in the snapshot (snap.SinceTs=0), we can do
an entire table copy instead of iterating over the KVs. This brings about
3x performance improvement, as well as the CPU of the sender, is idle.
Refer hypermodeinc/badger#1700 for more details.
mangalaman93 added a commit that referenced this pull request Jul 19, 2023
)

When streaming the entire data in the snapshot (snap.SinceTs=0), we can do
an entire table copy instead of iterating over the KVs. This brings about
3x performance improvement, as well as the CPU of the sender, is idle.
Refer hypermodeinc/badger#1700 for more details.
mangalaman93 added a commit that referenced this pull request Jan 27, 2025
)

When streaming the entire data in the snapshot (snap.SinceTs=0), we can do
an entire table copy instead of iterating over the KVs. This brings about
3x performance improvement, as well as the CPU of the sender, is idle.
Refer hypermodeinc/badger#1700 for more details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants