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

Open
wants to merge 1 commit into
base: main
Choose a base branch
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 dgraph-io/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
)

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 dgraph-io/badger#1700 for more details.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dgraph Issue or PR created by an internal Dgraph contributor. Stale
Development

Successfully merging this pull request may close these issues.

4 participants