50 lines
3.5 KiB
XML
50 lines
3.5 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" width="860" height="440" viewBox="0 0 860 440" font-family="sans-serif" font-size="12">
|
||
<rect width="860" height="440" fill="white"/>
|
||
<text x="430.0" y="22" text-anchor="middle" font-size="14">R* от числа реплик (по 1 CPU): медиана, min–max, линейный рост</text>
|
||
<line x1="70" y1="390" x2="560" y2="390" stroke="#333"/>
|
||
<line x1="70" y1="40" x2="70" y2="390" stroke="#333"/>
|
||
<text x="178.9" y="406" text-anchor="middle">1</text>
|
||
<text x="287.8" y="406" text-anchor="middle">2</text>
|
||
<text x="396.7" y="406" text-anchor="middle">3</text>
|
||
<text x="505.6" y="406" text-anchor="middle">4</text>
|
||
<line x1="70" y1="390.0" x2="560" y2="390.0" stroke="#eee"/>
|
||
<text x="64" y="394.0" text-anchor="end">0</text>
|
||
<line x1="70" y1="302.5" x2="560" y2="302.5" stroke="#eee"/>
|
||
<text x="64" y="306.5" text-anchor="end">1000</text>
|
||
<line x1="70" y1="215.0" x2="560" y2="215.0" stroke="#eee"/>
|
||
<text x="64" y="219.0" text-anchor="end">2000</text>
|
||
<line x1="70" y1="127.5" x2="560" y2="127.5" stroke="#eee"/>
|
||
<text x="64" y="131.5" text-anchor="end">3000</text>
|
||
<line x1="70" y1="40.0" x2="560" y2="40.0" stroke="#eee"/>
|
||
<text x="64" y="44.0" text-anchor="end">4000</text>
|
||
<text x="315.0" y="428" text-anchor="middle">реплик</text>
|
||
<text x="16" y="215.0" text-anchor="middle" transform="rotate(-90 16 215.0)">R*, запросов/с</text>
|
||
<polyline points="505.6,230.8" fill="none" stroke="#2f6fbf" stroke-width="2"/>
|
||
<circle cx="505.6" cy="230.8" r="3.5" fill="#2f6fbf" stroke="#2f6fbf"/>
|
||
<line x1="505.6" y1="230.8" x2="505.6" y2="230.8" stroke="#2f6fbf" stroke-width="1.5"/>
|
||
<line x1="574" y1="50" x2="592" y2="50" stroke="#2f6fbf" stroke-width="3"/>
|
||
<text x="598" y="54">scaling-a, PostgreSQL 2 CPU</text>
|
||
<polyline points="178.9,324.8 287.8,288.1 396.7,262.7 505.6,230.8" fill="none" stroke="#d0752a" stroke-width="2"/>
|
||
<circle cx="178.9" cy="324.8" r="3.5" fill="#d0752a" stroke="#d0752a"/>
|
||
<line x1="178.9" y1="324.8" x2="178.9" y2="324.8" stroke="#d0752a" stroke-width="1.5"/>
|
||
<circle cx="287.8" cy="288.1" r="3.5" fill="#d0752a" stroke="#d0752a"/>
|
||
<line x1="287.8" y1="288.1" x2="287.8" y2="288.1" stroke="#d0752a" stroke-width="1.5"/>
|
||
<circle cx="396.7" cy="262.7" r="3.5" fill="#d0752a" stroke="#d0752a"/>
|
||
<line x1="396.7" y1="269.6" x2="396.7" y2="262.7" stroke="#d0752a" stroke-width="1.5"/>
|
||
<circle cx="505.6" cy="230.8" r="3.5" fill="#d0752a" stroke="#d0752a"/>
|
||
<line x1="505.6" y1="239.5" x2="505.6" y2="230.8" stroke="#d0752a" stroke-width="1.5"/>
|
||
<polyline points="178.9,324.8 505.6,129.2" fill="none" stroke="#d0752a" stroke-width="2" stroke-dasharray="3 4"/>
|
||
<line x1="574" y1="68" x2="592" y2="68" stroke="#d0752a" stroke-width="3"/>
|
||
<text x="598" y="72">scaling-b, PostgreSQL 2 CPU</text>
|
||
<polyline points="178.9,324.8 287.8,288.1 505.6,321.1" fill="none" stroke="#3c9a5f" stroke-width="2"/>
|
||
<circle cx="178.9" cy="324.8" r="3.5" fill="#3c9a5f" stroke="#3c9a5f"/>
|
||
<line x1="178.9" y1="324.8" x2="178.9" y2="324.8" stroke="#3c9a5f" stroke-width="1.5"/>
|
||
<circle cx="287.8" cy="288.1" r="3.5" fill="#3c9a5f" stroke="#3c9a5f"/>
|
||
<line x1="287.8" y1="288.1" x2="287.8" y2="282.3" stroke="#3c9a5f" stroke-width="1.5"/>
|
||
<circle cx="505.6" cy="321.1" r="3.5" fill="#3c9a5f" stroke="#3c9a5f"/>
|
||
<line x1="505.6" y1="321.1" x2="505.6" y2="317.1" stroke="#3c9a5f" stroke-width="1.5"/>
|
||
<polyline points="178.9,324.8 505.6,129.2" fill="none" stroke="#3c9a5f" stroke-width="2" stroke-dasharray="3 4"/>
|
||
<line x1="574" y1="86" x2="592" y2="86" stroke="#3c9a5f" stroke-width="3"/>
|
||
<text x="598" y="90">scaling-db, PostgreSQL 0.5 CPU</text>
|
||
</svg>
|