Bottlenecks and trade-offs
Which measurements distinguish business waiting times and technical bottlenecks during study visits?
The sequence is defined; next, we examine its possible bottlenecks. Many queries can arise from missing protocol references or slow checklists; share of incomplete data collections and queue age are separate signals. The following measures are start-up decisions with a need for testing, not already measured improvements.
Starting point Order withdrawal and visit updates on the same record.
Assumptions for the example case
Own fictitious example design. Fictitious documentation of an observational study with a pseudonymized participant, a visit and a versioned protocol. The example visit window covers seconds from the planned start: 0 inclusive to 86400 exclusive. All figures and test goals are illustrative assumptions.
Trace symptoms to their causes
Branched diagnostic tree
For each cause, connect the signal, distinguishing measurement and targeted action.
Measure before making changes
| Symptom | Validation | Targeted action |
|---|---|---|
| Many queries can arise from missing protocol references or slow checklists; share of incomplete data collections and queue age are separate signals | Check source freshness, the business reason for waiting and processing time separately. | Address the evidenced cause first, then retest the same case. |
| 20 competing data collections and a withdrawal of the same participation | Measure the duration of the atomic decision and concurrent access. | Move lengthy work outside the commit; preserve the business invariant in the concurrency test. |
| Stale display despite stored evidence | Compare the authoritative version with the projection version. | Rebuild the projection; continue deciding state changes from the authoritative state. |
Many queries can arise from missing protocol references or slow checklists; share of incomplete data collections and queue age are separate signals
- Validation
- Check source freshness, the business reason for waiting and processing time separately.
- Targeted action
- Address the evidenced cause first, then retest the same case.
20 competing data collections and a withdrawal of the same participation
- Validation
- Measure the duration of the atomic decision and concurrent access.
- Targeted action
- Move lengthy work outside the commit; preserve the business invariant in the concurrency test.
Stale display despite stored evidence
- Validation
- Compare the authoritative version with the projection version.
- Targeted action
- Rebuild the projection; continue deciding state changes from the authoritative state.
Checklists expose missing provenance rather than guessing it
Checklists expose missing provenance rather than guessing it.
Many queries can arise from missing protocol references or slow checklists; share of incomplete data collections and queue age are separate signals.
Many queries can arise from missing protocol references or slow checklists; share of incomplete data collections and queue age are separate signals. The exercise specifies the input and expected result.
- Alternative considered
- Adding compute capacity indiscriminately does not resolve missing business evidence.
- Trade-off
- Multiple measurement points and separate causes increase the diagnostic effort.
- Reassess
- Use measurements after the targeted change to decide whether further scaling is needed.
Try it yourself
Name two different causes of delay in this case. Choose a measurement for each and justify the first action.
A hint for your attempt
Record the business reason for waiting, source age and technical compute time separately.
Compare with a possible solution
- Case-related diagnosis
- Many queries can arise from missing protocol references or slow checklists; share of incomplete data collections and queue age are separate signals. The first step separates these causes based on their own timestamps and conditions.
- Hotspot
- For 20 competing data collections and a withdrawal of the same participation, competing accesses and commit duration are measured. Long external work is removed from the transaction; then the same concurrency test is repeated.
Apply to your project
Which similar display could have two different causes in your project?