01 / DECISION
この primitive を選ぶ時
per-room、per-user、per-resource、per-workflow coordination に strongly consistent ownership が必要な時に使います。
02 / ARCHITECTURE
最小で説明可能な path を作る
invariant、stable object ID、bounded method、必要 state、alarm / cleanup を順に設計します。
- 01contract を定義
per-room、per-user、per-resource、per-workflow coordination に strongly consistent ownership が必要な時に使います。
- 02primitive を一つ追加
invariant、stable object ID、bounded method、必要 state、alarm / cleanup を順に設計します。
- 03failure evidence を残す
同じ object に concurrent request を送り、operation 間の restart で invariant、persistence、cleanup を確認します。
03 / REPRODUCE
confidence の前に evidence
同じ object に concurrent request を送り、operation 間の restart で invariant、persistence、cleanup を確認します。
npx wrangler types 04 / BOUNDARY
Production boundary
一つの object は hot key になり得ます。Durable Objects は state を調整しますが、無制限 workload を無料・無限並列にはしません。
05 / FIRST-PARTY SOURCES
一次資料を authoritative に保つ
product behavior、limit、pricing、availability は変わります。実行前に source を再確認してください。