MIL-006: strategy options and comparison #41

Merged
Tirsvad merged 2 commits from mil-006-strategy into main 2026-10-28 11:04:11 +01:00
Owner

Milestone MIL-006: lecture step 5.

BuyStrategy (buy one or buy all affordable), validated --interval and --buy-all, and a five attempt retry for reads that go stale. Two batches of five 300 s container runs are compared in docs/wiki/Step-5-Improve-the-Strategy.md; the best is check every 10 s, buy one, 18.2 cookies/second (docs/images/step-5.png). Code review RC-018 is Go (autonomous, not independent).

Closes #26
Closes #27
Closes #28

Milestone MIL-006: lecture step 5. BuyStrategy (buy one or buy all affordable), validated --interval and --buy-all, and a five attempt retry for reads that go stale. Two batches of five 300 s container runs are compared in docs/wiki/Step-5-Improve-the-Strategy.md; the best is check every 10 s, buy one, 18.2 cookies/second (docs/images/step-5.png). Code review RC-018 is Go (autonomous, not independent). Closes #26 Closes #27 Closes #28
Tirsvad added 2 commits 2026-10-28 11:04:05 +01:00
BuyStrategy with a pure buy-all plan, validated --interval, --buy-all,
a five attempt retry for reads that go stale (found in a real run), the
comparison of two batches of 300 s container runs and the screenshot of
lecture step 5. Code review RC-018.

Closes #26
Closes #27
Closes #28

Task: MIL-006#1
Task: MIL-006#2
Task: MIL-006#3
Tirsvad merged commit 1bfa8f6c4d into main 2026-10-28 11:04:11 +01:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Tirsvad-Udemy-100-days-of-code/048-the-coockie-factory-new#41