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

Batch pushed WAL frames #1833

Open
penberg opened this issue Nov 21, 2024 · 0 comments
Open

Batch pushed WAL frames #1833

penberg opened this issue Nov 21, 2024 · 0 comments
Labels
enhancement New feature or request WAL sync

Comments

@penberg
Copy link
Collaborator

penberg commented Nov 21, 2024

We currently send one frame at a time, which has lots of overhead from TLS handshake, for example. Let's send WAL frames in batches -- perhaps make it configurable and default to 32 KiB (which is 8 frames). We could also make batching smart and send full transactions at at time (or multiple transactions). The server side is built to allow partial transactions to be sent, but sending full transactions has less overhead.

@penberg penberg added enhancement New feature or request WAL sync labels Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request WAL sync
Projects
None yet
Development

No branches or pull requests

1 participant