Decompose: Documented concurrency contract (throughput, per-request bounds, failure semantics) — Phase 1: Throughput answers (questions 1, 5, 6) #69
Labels
No labels
blocked:children
blocked:depends-101
blocked:depends-103
blocked:depends-104
blocked:needs-attention
blocked:needs-decision
blocked:no-changes
blocked:preflight
bug
chore
feature-request
in-progress
lint-cleanup
needs-decompose
performance
quality
quickfix
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/easystitch#69
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Phase 1: Throughput answers (questions 1, 5, 6)
Goal: Lock the throughput policy.
Specifically:
the target box; configurable via
WORKER_POOL_SIZE).size.
Retry-After: Nheader, where N is the p50 queue wait time. Document the exact
header shape.
Files:
docs/concurrency.md(initial version with these 3 questionsanswered; the other 4 follow in P2/P3)
docs/service/operations.md(issue #40 P2) to referencethe concurrency policy
Acceptance:
docs/concurrency.mdhas a section per answered question with thevalue, the rationale, and the source (benchmark, calculation, or
decision doc).
requests get 503 with Retry-After" against the spec.
Why first: throughput answers constrain the design of the worker
pool and the request queue. They should be locked before any service
code is written.
Decomposed from easystitch#43