Repository navigation
Conversation
Greptile SummaryThis PR rolls back Confidence Score: 5/5Safe to merge — minimal-risk rollback of a single concurrency tuning parameter to a previously known-good value. The change is a one-line rollback of No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Incoming WebSocket Connections] --> B{GKE Load Balancer}
B --> C[HPA Autoscaler]
C -->|activeConnectionsPerPod = 22| D[backend-listen Pods\nmin: 20, max: 60]
C -->|Scale Up Trigger| E[Add Pods\nup to 50% / +5 per 15s]
C -->|Scale Down Trigger| F[Remove Pods\n≤20% per 300s or 1 pod/120s]
D --> G[Process Audio Stream\nSTT + Transcription]
G --> H[Pusher Service]
style D fill:#4CAF50,color:#fff
style C fill:#2196F3,color:#fff
Reviews (1): Last reviewed commit: "Rollback activeConnectionsPerPod for bac..." | Re-trigger Greptile |
… backend-listen=22 PR BasedHardware#6732 rolled back backend-listen to 22 but kept pusher at 30, which is intentional: pusher's WebSocket handling profile can absorb 30 concurrent connections per pod while backend-listen's cannot. Both values are tuned continuously as the async request pipeline evolves. Adds a one-line YAML comment so the asymmetry is visible at the call site instead of buried in PR history. Closes BasedHardware#6752 Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Low CPU usage doesn't mean backend-listen has spare capacity to process the requests.
It comes down to CPU occupation and concurrent.
I'll keep the activeConnectionsPerPod as 22 for now. Once new enhancement has been deployed, I will try to adjust this value again.
Changes: