Skip to content

feat(client): add DialWithBuffer and ConnectWithBuffer functions #1073

Merged
SpencerTorres merged 1 commit intoClickHouse:mainfrom
rabenhorst:dial-with-buffer
Jul 16, 2025
Merged

feat(client): add DialWithBuffer and ConnectWithBuffer functions #1073
SpencerTorres merged 1 commit intoClickHouse:mainfrom
rabenhorst:dial-with-buffer

Conversation

@rabenhorst
Copy link
Copy Markdown
Contributor

Summary

Added DialWithBuffer and ConnectWithBuffer functions so buffer can be reused between clients and allocations reduced. This is especially useful when writing big payloads with new connections.

Checklist

Delete items not relevant to your PR:

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Jul 10, 2025

CLA assistant check
All committers have signed the CLA.

@rabenhorst rabenhorst changed the title Add DialWithBuffer and ConnectWithBuffer functions feat[client]: addn DialWithBuffer and ConnectWithBuffer functions Jul 10, 2025
Signed-off-by: Sebastian Rabenhorst <[email protected]>

Added write buffer pool using puddle

Signed-off-by: Sebastian Rabenhorst <[email protected]>
@rabenhorst rabenhorst changed the title feat[client]: addn DialWithBuffer and ConnectWithBuffer functions feat[client]: add DialWithBuffer and ConnectWithBuffer functions Jul 10, 2025
@rabenhorst rabenhorst changed the title feat[client]: add DialWithBuffer and ConnectWithBuffer functions feat(client): add DialWithBuffer and ConnectWithBuffer functions Jul 10, 2025
@SpencerTorres SpencerTorres merged commit 73fc522 into ClickHouse:main Jul 16, 2025
19 checks passed
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.

3 participants