Final design
What two pieces of evidence are missing from this draft?
The decision map shows the topology, main path, test cases and steps to revisit.
Starting point Separate model tests and real infrastructure.
Assumptions for the example case
Illustrative design: 50,000 attempts per day, 10,000 simultaneous starts, a 90-minute duration, autosave every 10 seconds and a peak of 1,000 answer writes/s. This gives at most 540 save opportunities per attempt open for the full duration; actual writes depend on changes and batching.
Decision map
Current decisions
relational version on V-17
Four command types change the same state
- Trade-off
- The interface must support explicit conflict resolution
- Reassess
- When ownership is shared
Repeatable worker after stored closesAt
Keeping a browser open cannot guarantee completion
- Trade-off
- Measurable worker lag
- Reassess
- in the case of a new scheduler contract
Outstanding evidence
- Persistence
- A real concurrency test for autosave, participant submission, extensions and the worker.
- Load
- 1,000 writes/s and 10,000 starts with defined latency and error rate.
Terms in this step
- Limit of evidence
- States what the explanatory model demonstrates and which real-world tests remain outstanding.
Try it yourself
Plan contention and load test.
A hint for your attempt
Name limit and success criterion.
Compare with a possible solution
- Concurrency
- One E-17 despite four competing commands.
- Load
- 1,000 writes/s with measured p95 and conflict rate.
Apply to your project
Complete the design template for your own timed process.
Start your own design
Choose a small case from your project. The template collects the ten design tasks and leaves space for your sketches, decisions, and open assumptions. You can edit it in your text editor or note-taking app.
Download design template (.md)Compare the ten tasks with the example case
Purpose and boundary
Apply this system boundary to a certification exam.
In the example: The design ends with a confirmed submission; grading follows in a separate context.
Requirements
Define the limit for a 30-minute exam.
In the example: Answer persistence, deadline correctness and throughput need separate evidence.
Scale estimates
Define a change rate as a new assumption.
In the example: 10,000 starts and 1,000 writes/s may coincide and are explicitly simulated.
Interfaces
Define the fingerprint for a file upload.
In the example: The server evaluates receivedAt; the browser clock does not determine the deadline.
Data and states
Apply this completion record to a job application submission.
In the example: The state transition and E-17 are created in the same commit.
Overall architecture
Draw the boundary for a reservation deadline.
In the example: Relational version checks linearise autosave, submission, extensions and worker actions.
Critical flow
Define a boundary case for an extension.
In the example: The user may submit up to and including the deadline; the worker acts only afterwards.
Bottlenecks and trade-offs
Define a signal for worker lag.
In the example: Metrics are linked to V-17 and the last confirmed version.
Operations and security
Define a controlled manual restart.
In the example: Operations can resume the completion mechanism; they neither alter answers nor assign grades.
Final design
Complete the design template for your own timed process.
In the example: The domain contract and boundary cases are defined; actual persistence, load and user validation remain outstanding.