You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e24a52b
Browse filesBrowse the repository at this point in the historyBrowse files
Delete the burst credit model, and the machines that only existed for it
`throttledFactor()` had no caller anywhere in `losim/src`, `losim/test` or
`viewer`. `baselineFraction` was read only inside its body. `creditSeconds`
was set by the catalogue and read nowhere. So every `t3` was a plain
2-vCPU machine that cost a fifth of the other 2-vCPU machines, with no
compensating downside anywhere in the engine — picking one to save money
was free.
That would be dead code and no more, except the course said otherwise in
four places: the console warned "full speed until its credits run out,
then a fraction of a core — this is where stragglers come from"; the
instance reference had a whole section explaining `baselineFraction` and
`creditSeconds` as if they bit; `the-plan.mdx` built an exercise on `w3`
being "the odd one out — a small burstable machine"; and `the-scenario.mdx`
called a `t3.small` override of a `c5.large` pool "half the machine, and
it will show", when both are 2 vCPU and it showed nothing.
Arming the model was the alternative and was judged not worth it, so the
promise goes instead of the implementation. Gone: the three fields, the
method, the `burstable` flag through `Serve` and the console, and all four
`t3` types.
The teaching stays, because `a1.medium` can now carry it honestly. It is
one core against a `c5.large`'s two — so it really does half the work in
the same time — and at 0.0255 against 0.1020 it is *exactly* a quarter of
the price, which is the ratio `what-it-cost.mdx` already claimed and only
approximately had. Every place that reached for "the weak machine" now
gets one: `w3` in the tutorial, the override examples, the console's own
hint, which now talks about cores instead of credits.
Two docs needed more than a substitution, because they used `t3.small`
precisely *because* it was two cores: `concurrency.mdx`'s vCPU table now
opens at 1, and `deadlines.mdx`'s "still 9 refMs" argument now points at
the `c5.large`s, which is where it was always true.
`netGbps` is the same shape — carried by the catalogue, read by nothing —
but it promises nothing to anybody, so it stays until that is decided.
Found by bcs-ds-assignment-1-6c.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
0 commit comments