2 lines
3.8 KiB
XML
2 lines
3.8 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" width="680" height="380" viewBox="0 0 680 380" font-family="system-ui,Segoe UI,Arial" font-size="12"><rect width="100%" height="100%" fill="#fff"/><text x="340" y="20" text-anchor="middle" font-size="14" font-weight="600">Рост числа реплик (по 1 CPU), PostgreSQL 2 CPU</text><line x1="80" y1="300.0" x2="600" y2="300.0" stroke="#e5e7eb"/><text x="74" y="304.0" text-anchor="end" fill="#333">0</text><line x1="80" y1="248.0" x2="600" y2="248.0" stroke="#e5e7eb"/><text x="74" y="252.0" text-anchor="end" fill="#333">1000</text><line x1="80" y1="196.0" x2="600" y2="196.0" stroke="#e5e7eb"/><text x="74" y="200.0" text-anchor="end" fill="#333">2000</text><line x1="80" y1="144.0" x2="600" y2="144.0" stroke="#e5e7eb"/><text x="74" y="148.0" text-anchor="end" fill="#333">3000</text><line x1="80" y1="92.0" x2="600" y2="92.0" stroke="#e5e7eb"/><text x="74" y="96.0" text-anchor="end" fill="#333">4000</text><line x1="80" y1="40.0" x2="600" y2="40.0" stroke="#e5e7eb"/><text x="74" y="44.0" text-anchor="end" fill="#333">5000</text><text transform="translate(32,170) rotate(-90)" text-anchor="middle" fill="#333">успешные запросы/с</text><text x="606" y="304.0" text-anchor="start" fill="#555">0</text><text x="606" y="252.0" text-anchor="start" fill="#555">50</text><text x="606" y="200.0" text-anchor="start" fill="#555">100</text><text x="606" y="148.0" text-anchor="start" fill="#555">150</text><text x="606" y="96.0" text-anchor="start" fill="#555">200</text><text x="606" y="44.0" text-anchor="start" fill="#555">250</text><text transform="translate(648,170) rotate(-90)" text-anchor="middle" fill="#555">CPU, % ядра</text><text x="80.0" y="318" text-anchor="middle">1</text><text x="253.3" y="318" text-anchor="middle">2</text><text x="426.7" y="318" text-anchor="middle">4</text><text x="600.0" y="318" text-anchor="middle">8</text><text x="340" y="336" text-anchor="middle">API-реплик</text><polyline points="80.0,193.4 253.3,121.1 426.7,110.5 600.0,122.8" fill="none" stroke="#2563eb" stroke-width="2.5"/><circle cx="80.0" cy="193.4" r="3.5" fill="#2563eb"/><circle cx="253.3" cy="121.1" r="3.5" fill="#2563eb"/><circle cx="426.7" cy="110.5" r="3.5" fill="#2563eb"/><circle cx="600.0" cy="122.8" r="3.5" fill="#2563eb"/><polyline points="80.0,201.0 253.3,104.3 426.7,93.7 600.0,107.3" fill="none" stroke="#16a34a" stroke-width="2.5" stroke-dasharray="6 4"/><circle cx="80.0" cy="201.0" r="3.5" fill="#16a34a"/><circle cx="253.3" cy="104.3" r="3.5" fill="#16a34a"/><circle cx="426.7" cy="93.7" r="3.5" fill="#16a34a"/><circle cx="600.0" cy="107.3" r="3.5" fill="#16a34a"/><polyline points="80.0,214.4 253.3,132.2 426.7,105.3 600.0,112.4" fill="none" stroke="#dc2626" stroke-width="2.5" stroke-dasharray="6 4"/><circle cx="80.0" cy="214.4" r="3.5" fill="#dc2626"/><circle cx="253.3" cy="132.2" r="3.5" fill="#dc2626"/><circle cx="426.7" cy="105.3" r="3.5" fill="#dc2626"/><circle cx="600.0" cy="112.4" r="3.5" fill="#dc2626"/><polyline points="80.0,277.3 253.3,254.3 426.7,251.4 600.0,251.0" fill="none" stroke="#9333ea" stroke-width="2.5" stroke-dasharray="6 4"/><circle cx="80.0" cy="277.3" r="3.5" fill="#9333ea"/><circle cx="253.3" cy="254.3" r="3.5" fill="#9333ea"/><circle cx="426.7" cy="251.4" r="3.5" fill="#9333ea"/><circle cx="600.0" cy="251.0" r="3.5" fill="#9333ea"/><line x1="80" y1="356" x2="98" y2="356" stroke="#2563eb" stroke-width="2.5"/><text x="102" y="360">RPS</text><line x1="135" y1="356" x2="153" y2="356" stroke="#16a34a" stroke-width="2.5" stroke-dasharray="6 4"/><text x="157" y="360">CPU API (сумма)</text><line x1="274" y1="356" x2="292" y2="356" stroke="#dc2626" stroke-width="2.5" stroke-dasharray="6 4"/><text x="296" y="360">CPU PostgreSQL</text><line x1="406" y1="356" x2="424" y2="356" stroke="#9333ea" stroke-width="2.5" stroke-dasharray="6 4"/><text x="428" y="360">CPU HAProxy</text></svg>
|