Skip to content

feat(resharding): use binary protocol for replication#1016

Open
meskill wants to merge 1 commit into
mainfrom
feat/replication-binary
Open

feat(resharding): use binary protocol for replication#1016
meskill wants to merge 1 commit into
mainfrom
feat/replication-binary

Conversation

@meskill
Copy link
Copy Markdown
Contributor

@meskill meskill commented May 28, 2026

Use binary protocol for replication slot if resharding_copy_format set to binary.

Performance benefits are minimal, guess mostly because of the current sequential streaming handling in replication (send -> wait for reply for every event).

I managed to get some improvements on benchmarks only with toxiproxy in case of limited bandwidth
image

otherwise no difference

@meskill meskill force-pushed the feat/replication-binary branch from 36b0194 to a025a14 Compare May 28, 2026 10:00
@codecov
Copy link
Copy Markdown

codecov Bot commented May 28, 2026

Codecov Report

❌ Patch coverage is 97.72727% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...src/net/messages/replication/logical/tuple_data.rs 96.92% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

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.

1 participant