perf(platform-connectors): raise deployment connector datastore pool default to 30 #1998
All Vouch review confidence checks passed
Residual risk 0.24 = Change Risk (0.60) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.60 · 213 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.321
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.060
Real PR Conversation Timeline
1 comments
"Review active on #1998"
general
weight: 0.35
KaivalyaMDabhadkar
Summary
Raise the default
platformConnector.deployment.datastore.maxPoolSize(DATASTORE_MAX_CONNECTIONS) from 10 to 30.Each write holds a pooled connection until a majority of the replica set acknowledges it, so the deployment connector's ingest ceiling is replicas × pool ÷ write time. At 100,000 nodes and 0.01 events/node/s (~1,000 events/s), pool 10 leaves about 1.5x headroom before MongoDB falls behind, and pool 30 about 3.5x (3,464 events/s measured with production-shaped events). Details in the scale test report (#1789).
Type of Change
Component(s) Affected
Testing
Checklist
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
Improvements
Increased the platform connector’s datastore connection pool capacity from 10 to 30. This allows more simultaneous datastore connections and may help the connector handle higher levels of concurrent activity. The change affects connection capacity; no other user-facing behavior changes are included in this release.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->