Repository navigation
fix(backend): bump storage_executor 64→96 — queue exceeds 300 threshold - #7380
Conversation
… threshold (#7376) Co-Authored-By: Claude Opus 4.6 <[email protected]>
Co-Authored-By: Claude Opus 4.6 <[email protected]>
Co-Authored-By: Claude Opus 4.6 <[email protected]>
Co-Authored-By: Claude Opus 4.6 <[email protected]>
Greptile SummaryThis PR bumps
Confidence Score: 5/5Safe to merge — the change is a single integer bump in a well-monitored executor pool, backed by production queue data and within the documented practical ceiling for I/O-bound GCS work. All four files are updated consistently: the executor definition, both test files asserting the worker count, and the architecture documentation. The bump is evidence-based (observed peak queues of 336–608 at 64 workers), keeps total thread budget reasonable for I/O-bound workloads, and has no surrounding logic changes that could introduce regressions. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Incoming GCS Request] --> B{storage_executor queue}
B -- "≤96 active workers" --> C[Worker thread\nGCS upload/download]
B -- "queue depth >300\n@64 workers" --> D[Queue saturation\n504 errors / p99 spike]
C --> E[GCS / Cloud Storage]
B -- "96 workers\n~50% headroom over peak" --> F[Worker thread\nGCS upload/download]
F --> E
Reviews (1): Last reviewed commit: "test(backend): update sync_v2 storage po..." | Re-trigger Greptile |
Summary
Follow-up to #7378. Bumps
storage_executorfrom 64 → 96 workers.Evidence from T+2h post-deploy monitoring (mon):
64 workers handles steady-state but cannot absorb traffic spikes. 96 provides ~50% headroom over observed peaks. Codex consultation from #7376 identified 64-96 as the practical ceiling for storage (I/O-bound GCS work).
All other pools from #7378 are confirmed resolved:
Closes #7376.
Test plan
test_executors.py— 24 passtest_async_http_infrastructure.py— executor tests pass (assertion updated 64→96)test_sync_v2.py— executor worker count assertion updated🤖 Generated with Claude Code