System Design Atlas

Agricultural field operations

07 / 10Worked example

Critical flow

How are detected partial area and open remaining area separated from each other?

We track the error point through the architecture: machine operators complete 8 ha offline. The server accepts the record, but its response is lost. A retry confirms 8 ha. The remaining 4 ha stays visible for planning; the operation is not presented as a fully completed 12 ha. Durable acceptance, actual effect and response are considered individually.

Starting point Keep the complete work order and journal locally.

Assumptions for the example case

Our own fictitious example design: Mechanical tillage of a field; a machine order; offline stored work record; local inspection of operational windows and approval. Figures and quality goals are illustrative test assumptions. Outside are plant protection product application, autonomous driving control, agronomic advice and payroll.

Failure point in the sequence

Offline work, proof commit and remaining area

The device event remains open locally and is repeated with the same key.

Machine app
Sync gateway
Evidence verification
Operational storage
  1. 01 Machine app · Local processingDocument 8 ha with G-4 + M-141
  2. 02 Machine app → Sync gatewaywork-8 synchronization
  3. 03 Sync gateway → Evidence verificationLimit + Checking machine
  4. 04 Evidence verification → Operational storage8 ha commits
  5. 05 Sync gateway · Local processingAnswer is lost
  6. 06 Machine app → Sync gatewaywork-8 again
  7. 07 Sync gateway → Machine app8 ha confirmed · 4 ha open

Result: The proof takes effect once; the actual area does not replace the plan value.

The replay confirms 8 ha; G-4 and M-141 remain; 4 ha remain visible as an open plan.

Only 8 out of 12 ha are processed. 8 ha confirm and keep 4 ha open. Plan is not issued as actual performance.

Effect, response and recovery

Specific error
Machine operators complete 8 ha offline. The server accepts the record, but its response is lost. A retry confirms 8 ha. The remaining 4 ha stays visible for planning; the operation is not presented as a fully completed 12 ha.
Before and after commit
Commit durably completes the local change. Before commit, the old state remains valid; afterwards, an identical retry returns the stored outcome. Reconcile the external effect using its existing reference.
Retry behaviour
The same work record over 5 ha with the same device event is synchronized twice: 5 ha, not 10 ha. The same key with 6 ha creates conflict. Changed field boundary does not replace G-4 in the old proof.

Record the area actually completed

Record the area actually completed

Confirm 8 ha and leave 4 ha open.

Only 8 out of 12 ha are processed.

Plan is not issued as actual performance.

Alternative considered
Automatic completion loses remaining work.
Trade-off
Farm management plans.
Reassess
Sub-areas are recorded geometrically rather than only as quantities.

Terms in this step

Record the area actually completed
Plan is not issued as actual performance.

Try it yourself

The device reports eight ha instead of twelve and loses the server response. Calculate the confirmed area and remaining area after a retry.

A hint for your attempt

Use the specific entities and conditions from this step. The two solution parts distinguish the decision from its evidenced outcome.

Compare with a possible solution
First part of the solution
The identical repetition confirms exactly eight ha of actual work.
Second part of the solution
Twelve minus eight give four ha of open remaining area. The plan may not be issued as fully executed.

Apply to your project

Which corresponding assumption in your project would you check first? Use as an occasion: partial areas are removed geometrically instead of quantity-related.

Step 8: Display forecast age.