Files
mtusi2026lab3/evidence/scaling/scaling-a/cpu-by-component.svg
T

47 lines
3.1 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" width="1000" height="440" viewBox="0 0 1000 440" font-family="sans-serif" font-size="12">
<rect width="1000" height="440" fill="white"/>
<text x="500.0" y="22" text-anchor="middle" font-size="14">CPU компонентов на ступени R* (медиана), ядер: scaling-a</text>
<line x1="70" y1="390" x2="700" y2="390" stroke="#333"/>
<line x1="70" y1="40" x2="70" y2="390" stroke="#333"/>
<text x="227.5" y="406" text-anchor="middle">2x2</text>
<text x="385.0" y="406" text-anchor="middle">4x1</text>
<text x="542.5" y="406" text-anchor="middle">1x4</text>
<line x1="70" y1="390.0" x2="700" y2="390.0" stroke="#eee"/>
<text x="64" y="394.0" text-anchor="end">0</text>
<line x1="70" y1="302.5" x2="700" y2="302.5" stroke="#eee"/>
<text x="64" y="306.5" text-anchor="end">2</text>
<line x1="70" y1="215.0" x2="700" y2="215.0" stroke="#eee"/>
<text x="64" y="219.0" text-anchor="end">4</text>
<line x1="70" y1="127.5" x2="700" y2="127.5" stroke="#eee"/>
<text x="64" y="131.5" text-anchor="end">6</text>
<line x1="70" y1="40.0" x2="700" y2="40.0" stroke="#eee"/>
<text x="64" y="44.0" text-anchor="end">8</text>
<text x="385.0" y="428" text-anchor="middle">конфигурация</text>
<text x="16" y="215.0" text-anchor="middle" transform="rotate(-90 16 215.0)">ядер</text>
<rect x="188.1" y="311.2" width="78.8" height="78.8" fill="#2f6fbf" opacity="0.85"/>
<rect x="188.1" y="294.4" width="78.8" height="16.7" fill="#b8404a" opacity="0.85"/>
<rect x="188.1" y="291.2" width="78.8" height="3.2" fill="#3c9a5f" opacity="0.85"/>
<rect x="188.1" y="290.3" width="78.8" height="0.9" fill="#7a5cb5" opacity="0.85"/>
<rect x="188.1" y="284.2" width="78.8" height="6.2" fill="#8c6d3f" opacity="0.85"/>
<rect x="345.6" y="222.5" width="78.8" height="167.5" fill="#2f6fbf" opacity="0.85"/>
<rect x="345.6" y="173.8" width="78.8" height="48.7" fill="#b8404a" opacity="0.85"/>
<rect x="345.6" y="164.9" width="78.8" height="8.9" fill="#3c9a5f" opacity="0.85"/>
<rect x="345.6" y="162.4" width="78.8" height="2.5" fill="#7a5cb5" opacity="0.85"/>
<rect x="345.6" y="145.4" width="78.8" height="17.0" fill="#8c6d3f" opacity="0.85"/>
<rect x="503.1" y="350.0" width="78.8" height="40.0" fill="#2f6fbf" opacity="0.85"/>
<rect x="503.1" y="342.2" width="78.8" height="7.8" fill="#b8404a" opacity="0.85"/>
<rect x="503.1" y="340.6" width="78.8" height="1.6" fill="#3c9a5f" opacity="0.85"/>
<rect x="503.1" y="340.1" width="78.8" height="0.5" fill="#7a5cb5" opacity="0.85"/>
<rect x="503.1" y="336.9" width="78.8" height="3.2" fill="#8c6d3f" opacity="0.85"/>
<line x1="714" y1="50" x2="732" y2="50" stroke="#2f6fbf" stroke-width="3"/>
<text x="738" y="54">API (сумма реплик)</text>
<line x1="714" y1="68" x2="732" y2="68" stroke="#b8404a" stroke-width="3"/>
<text x="738" y="72">PostgreSQL</text>
<line x1="714" y1="86" x2="732" y2="86" stroke="#3c9a5f" stroke-width="3"/>
<text x="738" y="90">HAProxy</text>
<line x1="714" y1="104" x2="732" y2="104" stroke="#7a5cb5" stroke-width="3"/>
<text x="738" y="108">Valkey</text>
<line x1="714" y1="122" x2="732" y2="122" stroke="#8c6d3f" stroke-width="3"/>
<text x="738" y="126">генератор</text>
</svg>