Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Big value serialization in migration #4100

Open
adiholden opened this issue Nov 10, 2024 · 0 comments · May be fixed by #4119
Open

Big value serialization in migration #4100

adiholden opened this issue Nov 10, 2024 · 0 comments · May be fixed by #4119
Assignees

Comments

@adiholden
Copy link
Collaborator

No description provided.

@adiholden adiholden added this to the dfly cluster v4 milestone Nov 10, 2024
chakaz added a commit that referenced this issue Nov 12, 2024
Before this PR:

We serialized a `RESTORE` command for each entry into a string, and then
push that string to the wire.
This means that, when serializing an entry of size X, we consume 2X
memory during the migration.

This PR:

Instead of serializing into a string, we serialize into the wire
directly. Luckily, only a small modification is needed in the way we
interact with `crc64`, which works well even in chunks.

Fixes #4100
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants