Find a data correctness recipe

Preserve identity, precision, concurrency, validation, and audit history

Represent values correctly

ProblemRecipe
Keep public IDs unchangedUse opaque identifiers
Preserve currency precisionSubmit money safely
Preserve time meaningSend dates with zones
Seed initial server valuesPass server data

Protect concurrent changes

ProblemRecipe
Detect a stale editHandle edit conflicts
Handle a unique constraint raceReturn uniqueness errors
Make a write repeatableUse idempotency
Report partial batch resultsApply bulk actions

Preserve history and compatibility

ProblemRecipe
Keep useful cached recordsCache reference data
Keep state across an expired sessionHandle session expiration
Record a sensitive changeWrite an audit trail
Change a contract safelyUse a compatible rollout