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

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

Closed
wants to merge 1 commit into from

Conversation

mangalaman93
Copy link
Member

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.

@CLAassistant
Copy link

CLAassistant commented Mar 7, 2023

CLA assistant check
All committers have signed the CLA.

@mangalaman93 mangalaman93 requested a review from MichelDiz as a code owner March 7, 2023 19:53
@MichelDiz MichelDiz added the dgraph Issue or PR created by an internal Dgraph contributor. label Mar 7, 2023
all-seeing-code
all-seeing-code previously approved these changes Mar 9, 2023
Copy link

This PR has been stale for 60 days and will be closed automatically in 7 days. Comment to keep it open.

@github-actions github-actions bot added the Stale label Jul 24, 2024
@github-actions github-actions bot closed this Aug 1, 2024
@mangalaman93 mangalaman93 reopened this Jan 16, 2025
@mangalaman93 mangalaman93 requested a review from a team as a code owner January 16, 2025 08:35
@mangalaman93 mangalaman93 marked this pull request as draft January 27, 2025 10:33
)

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.
@github-actions github-actions bot added area/core internal mechanisms go Pull requests that update Go code labels Jan 27, 2025
@mangalaman93 mangalaman93 marked this pull request as ready for review January 27, 2025 10:45
@mangalaman93 mangalaman93 marked this pull request as draft January 28, 2025 18:56
@ryanfoxtyler
Copy link
Member

closing PR for now, keeping branch active

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core internal mechanisms dgraph Issue or PR created by an internal Dgraph contributor. go Pull requests that update Go code Stale
Development

Successfully merging this pull request may close these issues.

5 participants