Files
progcode/web/public/assets/editorial/2024/capacity-cost-2024-load-resource-cost.svg
huncode 1b5ff34e2b
Build and deploy / deploy (push) Successful in 17s
revise October 2024 capacity cost articles
2026-07-31 16:43:48 +03:00

42 lines
4.4 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" width="1000" height="1050" viewBox="0 0 1000 1050" role="img" aria-labelledby="title desc">
<title id="title">Capacity-card: нагрузка, ресурс, единица расчёта и предел</title>
<desc id="desc">Четыре крупные последовательные карточки показывают путь от synthetic нагрузки через ресурс и единицу расчёта к условию остановки. Нижняя подпись отделяет учебную модель от реального счёта.</desc>
<rect width="1000" height="1050" rx="28" fill="#0c1524"/>
<text x="56" y="66" fill="#f5f8ff" font-family="Arial, sans-serif" font-size="34" font-weight="700">Capacity-card: что связано с чем</text>
<text x="56" y="104" fill="#aebed7" font-family="Arial, sans-serif" font-size="23">Один fixed synthetic snapshot, не cloud bill и не production telemetry</text>
<g font-family="Arial, sans-serif">
<rect x="56" y="150" width="888" height="120" rx="18" fill="#163052" stroke="#4f9dff" stroke-width="3"/>
<text x="84" y="198" fill="#8cc5ff" font-size="25" font-weight="700">1. Workload</text>
<text x="84" y="238" fill="#f5f8ff" font-size="28" font-weight="700">120 req/s</text>
<text x="320" y="198" fill="#d6e4f8" font-size="22">peak: 180 req/s · p95: 235 ms</text>
<text x="320" y="234" fill="#aebed7" font-size="20">Нагрузка задаёт контекст, но сама не является единицей цены.</text>
<path d="M500 276 V318" fill="none" stroke="#69d3b1" stroke-width="6" stroke-linecap="round"/>
<path d="M488 310 L500 334 L512 310" fill="none" stroke="#69d3b1" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<rect x="56" y="342" width="888" height="120" rx="18" fill="#153b3b" stroke="#69d3b1" stroke-width="3"/>
<text x="84" y="390" fill="#8de0c6" font-size="25" font-weight="700">2. Resource</text>
<text x="84" y="430" fill="#f5f8ff" font-size="28" font-weight="700">request 1.2 CPU · 2.0 GiB</text>
<text x="570" y="390" fill="#d6f4ea" font-size="22">limit: 1.6 CPU · 3.0 GiB</text>
<text x="570" y="426" fill="#aebed7" font-size="20">Request и limit не равны usage.</text>
<path d="M500 468 V510" fill="none" stroke="#f5c365" stroke-width="6" stroke-linecap="round"/>
<path d="M488 502 L500 526 L512 502" fill="none" stroke="#f5c365" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<rect x="56" y="534" width="888" height="120" rx="18" fill="#4a3620" stroke="#f5c365" stroke-width="3"/>
<text x="84" y="582" fill="#ffd58a" font-size="25" font-weight="700">3. Unit cost</text>
<text x="84" y="622" fill="#f5f8ff" font-size="28" font-weight="700">CPU-h + GiB-h</text>
<text x="420" y="582" fill="#fff0ce" font-size="22">base: 0.36 u/h · usage: 0.116 u/h</text>
<text x="420" y="618" fill="#aebed7" font-size="20">Единицу, tier и период задаёт отдельный billing contract.</text>
<path d="M500 660 V702" fill="none" stroke="#ec8bad" stroke-width="6" stroke-linecap="round"/>
<path d="M488 694 L500 718 L512 694" fill="none" stroke="#ec8bad" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<rect x="56" y="726" width="888" height="120" rx="18" fill="#4c263a" stroke="#ec8bad" stroke-width="3"/>
<text x="84" y="774" fill="#ffb2cc" font-size="25" font-weight="700">4. Предел</text>
<text x="84" y="814" fill="#f5f8ff" font-size="28" font-weight="700">SLO · cost · risk · stop condition</text>
<text x="570" y="774" fill="#ffe0ea" font-size="22">Сравнение останавливается до выбора следующего лимита.</text>
<text x="570" y="810" fill="#aebed7" font-size="20">Предел не обещает экономию и не меняет среду.</text>
</g>
<rect x="56" y="894" width="888" height="96" rx="16" fill="#101f34" stroke="#31547e" stroke-width="2"/>
<text x="82" y="934" fill="#dbe8fb" font-family="Arial, sans-serif" font-size="22">Проверка: фиксируем единицу, период, scope и owner до сравнения вариантов.</text>
<text x="82" y="968" fill="#8fb2dc" font-family="Arial, sans-serif" font-size="20">Модель не подтверждает цену, экономию и изменение среды.</text>
</svg>