Data and states
Why does E-17 need its own identity?
The submission binds the last committed answer revision.
Starting point Distinguish the attempt from its completion record.
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.
Data and state model
States
| Object | Transition | Protection |
|---|---|---|
| V-17 | in_progress → submitted | auto_submitted | only one terminating branch |
| A-17 | Revision 0 → n | Only when the V-17 version matches |
| E-17 | is produced once | binds response revision and closure type |
V-17
- Transition
- in_progress → submitted | auto_submitted
- Protection
- only one terminating branch
A-17
- Transition
- Revision 0 → n
- Protection
- Only when the V-17 version matches
E-17
- Transition
- is produced once
- Protection
- binds response revision and closure type
Terms in this step
- Terminal transition
- Autosave cannot reopen a completed attempt.
Try it yourself
Name the data that E-17 must record.
A hint for your attempt
Version, response and time.
Compare with a possible solution
- E-17
- V-17, R-3, answer revision, completion type and commit timestamp.
- Concurrency record
- The expected and new attempt versions and the actor executing the command remain traceable.
Apply to your project
Apply this completion record to a job application submission.