Measure database connection pool headroom and cancellation #115

Open
opened 2026-12-02 13:21:45 +01:00 by cesnimda · 0 comments
Owner

Summary

Measure database connection pool headroom and cancellation.

Background and evidence

Scoped EF contexts use Pomelo 9 and MySqlConnector 2.4, whose connection pooling is enabled by default. No source override found. Measure driver pool wait/usage/timeouts, cancellation and DB headroom in a disposable environment. Separate context pooling from connection pooling. Tune only with capacity and rollback evidence.

Scope and expected outcome

Separate context pooling from connection pooling. Tune only with capacity and rollback evidence.

Acceptance criteria

  • Separate context pooling from connection pooling. Tune only with capacity and rollback evidence.
  • Use comparable baseline and candidate workloads. Keep production, schema and topology changes separately authorised.

Testing requirements

Record source, fixture size, environment, repetitions and latency or cost distribution. Preserve correctness under the same workload.

Dependencies and compatibility

Initial disposition: Ready. Production changes require separate release approval.

Definition of done

Link the verified result, revision or decision and remaining limitations. Obtain the acceptance required above before closing.

References

Related work

Parent epic: #36

### Summary Measure database connection pool headroom and cancellation. ### Background and evidence Scoped EF contexts use Pomelo 9 and MySqlConnector 2.4, whose connection pooling is enabled by default. No source override found. Measure driver pool wait/usage/timeouts, cancellation and DB headroom in a disposable environment. Separate context pooling from connection pooling. Tune only with capacity and rollback evidence. ### Scope and expected outcome Separate context pooling from connection pooling. Tune only with capacity and rollback evidence. ### Acceptance criteria - [ ] Separate context pooling from connection pooling. Tune only with capacity and rollback evidence. - [ ] Use comparable baseline and candidate workloads. Keep production, schema and topology changes separately authorised. ### Testing requirements Record source, fixture size, environment, repetitions and latency or cost distribution. Preserve correctness under the same workload. ### Dependencies and compatibility Initial disposition: Ready. Production changes require separate release approval. ### Definition of done Link the verified result, revision or decision and remaining limitations. Obtain the acceptance required above before closing. ### References - [Evidence 1](https://git.cesnimda.uk/cesnimda/jobtrackingapp/src/commit/b8d26aab2b52750cffa8de00578b982899942892/docs/direct-roadmap/ROADMAP_TODO.md#L281) <!-- jobbjakt:F-PERF-18 --> ### Related work Parent epic: #36 <!-- jobbjakt-links -->
cesnimda added the Status/Ready label 2026-12-02 13:30:44 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cesnimda/jobtrackingapp#115