Add connection-pool wait time to registration diagnostics
Slow registration is blamed on SQL even when requests are waiting for a connection.
- Focused work estimate
- 2h 30m + prerequisites
- Priority in the scenario
- Medium
- Engineering practice
- Database observability
Estimated field mix
- Database engineering40%
- Site reliability40%
- Performance engineering20%
Field percentages are editorial estimates of the ticket's engineering focus. They total 100%; they are not measured time, proficiency scores, or ownership evidence.
Review it, then add it to your workspace.
The board opens an editable draft; nothing is saved until you confirm it. Sign-in and workspace permissions apply, and Demo boards remain ephemeral.
Project context
A fictional course platform expects a registration deadline spike. Capacity assumptions, escalation ownership, and degradation decisions are scattered across old documents.
Setup prerequisites
- Create synthetic registration traces and local dependency doubles with finite connection and request limits.
Preceding work
Complete these dependencies, or supply their agreed outputs before taking this ticket.
Acceptance criteria
- Measure wait and query duration separately.
- Track pool occupancy with bounded labels.
- Bound waiting time and cancellation cleanup.
Implementation constraints
- Do not expose SQL parameters or user identifiers.
Verification to include
- Observe deliberate pool contention.
- Cancel a waiting request and verify it leaves the queue.
Deliverables
- Pool diagnostics.
Rollout and recovery
Introduce read-only metrics before changing pool size.
Value of the work
For the engineer: Practice readiness reviews, capacity reasoning, and cross-functional operational handoffs.
For the team: Produce a concrete launch-readiness assessment with measurable risks and recovery actions.
Evidence boundaries
Outcome Evidence: Tests, patches, and runbooks are requested deliverables. They become Outcome Evidence only through a qualified Mission and immutable Evidence IDs.
Ownership Evidence: Independent adaptation must be observed under a declared verification policy and cite immutable Evidence IDs. Completing a planning ticket establishes no Ownership Evidence.