-
Notifications
You must be signed in to change notification settings - Fork 22
TCP M: connection pool — concurrent operations over one client #560
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
Open
alex-clickhouse
wants to merge
16
commits into
tcp/epic-n9-poco-write
from
tcp/epic-m-connection-pool
Open
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
49124d1
Add the connection pool: concurrent operations over one client
alex-clickhouse bc5664e
Address review: drop M12, close the leased connections, guard the sweep
alex-clickhouse 33d3084
Address re-review: best-effort closes, and abort rather than terminate
alex-clickhouse b4247dc
Fix the Release build: do not name the experimental client type
alex-clickhouse c03ec70
Hold MinPoolSize: the sweep tops the pool back up to the floor
alex-clickhouse 1240484
Cover the cap with top-ups competing for permits
alex-clickhouse a4b54c0
Address review: release the pooled buffers after an abort
alex-clickhouse 2cdeb74
Pin repeated and concurrent disposal of the reader and writer
alex-clickhouse b8fb029
Address review: count the dials in flight, and cancel them on dispose
alex-clickhouse 44ad716
Cover the two disposal races the drain cannot reach
alex-clickhouse 025e474
Address re-review: hold the slot for the whole checkout
alex-clickhouse 1d430c6
Fix the sweep throwing whenever nothing is idle
alex-clickhouse 69f59a1
Treat idleness as a liveness limit, not just a resource one
alex-clickhouse 0296302
Address the follow-up: sweep allocation, sweep period, and the docs
alex-clickhouse 36af167
Update pooled row inserts for InsertRowsAsync
alex-clickhouse ee08bc8
Retire TCP connections after server exceptions
alex-clickhouse File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.