Repository navigation
On size10 clusters, the bundled Postgres accepts 500 connections instead of 300 - #3141
Merged
Benjamin Elder (BenTheElder) merged 1 commit intoOct 23, 2026
Conversation
At 300, eight ate-api-server replicas fit only about 30 pool connections each. In the 8 x 8 CPU cold resume benchmark, pools of 30 capped the ceiling at about 6500 cycles/s. Pools of 55, which need 488 connections, reached about 7350, and larger pools added nothing. The comment now counts the owner pool in each replica's connections.
haiyanmeng
force-pushed
the
size10-max-connections-500
branch
from
October 22, 2026 23:15
8a60c24 to
1cfe0ac
Compare
haiyanmeng
marked this pull request as ready for review
October 22, 2026 23:24
Benjamin Elder (BenTheElder)
approved these changes
Oct 23, 2026
Benjamin Elder (BenTheElder)
left a comment
Collaborator
There was a problem hiding this comment.
spoke to Eitan Yarmush (@EItanya), we're both OK with this.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
size10's
max_connections = 300limits how many ate-api-server replicas can run with a useful pool. Each replica holds its read/write pool plus 6 owner, watch and readiness connections, so eight replicas fit only about 30 pool connections each.In the cold resume benchmark on the fake data plane (8 replicas at 8 CPUs, size10 Postgres), pool size set the ceiling:
AI use: AI-assisted (Claude Code) for the benchmark runs, the analysis and this change.