chore(spanner): core implementation for a dynamic channel pool - #6522
chore(spanner): core implementation for a dynamic channel pool#6522olavloite wants to merge 1 commit into
Conversation
Introduce modular channel pooling supporting static fixed-size pools and dynamic load-based scaling with Power of Two Least Busy (P2C) selection, parallel channel priming, and transaction affinity routing.
There was a problem hiding this comment.
Code Review
This pull request introduces a comprehensive dynamic channel pooling implementation for the Spanner client. It includes transaction channel affinity management, static and dynamic pool configurations, channel entry lifecycle tracking with RAII guards, a core channel pool engine utilizing Power of Two Least Busy selection, and background scaling workers for autonomous scale-up, scale-down, and priming. I have no feedback to provide as there are no review comments to assess.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #6522 +/- ##
==========================================
- Coverage 96.39% 96.13% -0.26%
==========================================
Files 301 306 +5
Lines 84762 86022 +1260
==========================================
+ Hits 81706 82697 +991
- Misses 3056 3325 +269 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Introduce modular channel pooling supporting static fixed-size pools and dynamic load-based scaling with Power of Two Least Busy (P2C) selection, parallel channel priming, and transaction affinity routing.