forked from mtusi2026/mtusi2026lab3
50 lines
2.9 KiB
XML
50 lines
2.9 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" width="1120" height="620" viewBox="0 0 1120 620">
|
|
<rect width="100%" height="100%" fill="#0e1013"/>
|
|
<style>
|
|
text { font-family: Inter, Segoe UI, sans-serif; fill: #eceef0; }
|
|
.title { font-size: 26px; font-weight: 650; }
|
|
.subtitle { font-size: 14px; fill: #aeb2b8; }
|
|
.label { font-size: 14px; fill: #c8cbd0; }
|
|
.small { font-size: 12px; fill: #a2a5aa; }
|
|
.grid { stroke: #34373d; stroke-width: 1; }
|
|
.axis { stroke: #747981; stroke-width: 1.5; }
|
|
.line { fill: none; stroke: #f4f5f6; stroke-width: 3; }
|
|
.line2 { fill: none; stroke: #92979f; stroke-width: 3; }
|
|
.point { fill: #f4f5f6; }
|
|
.point2 { fill: #92979f; }
|
|
.bar { fill: #d7d9dc; }
|
|
.bar2 { fill: #777c84; }
|
|
.bar3 { fill: #4c5057; }
|
|
.threshold { stroke: #8f949c; stroke-width: 2; stroke-dasharray: 7 5; }
|
|
</style>
|
|
<text x="50" y="44" class="title">Fixed total API budget</text>
|
|
<text x="50" y="70" class="subtitle">1 CPU · 512 MiB · 16 DB connections split across 1, 2 and 4 replicas</text>
|
|
<line x1="90" y1="480.0" x2="1030" y2="480.0" class="grid"/>
|
|
<text x="78" y="484.0" text-anchor="end" class="small">0</text>
|
|
<line x1="90" y1="406.0" x2="1030" y2="406.0" class="grid"/>
|
|
<text x="78" y="410.0" text-anchor="end" class="small">133</text>
|
|
<line x1="90" y1="332.0" x2="1030" y2="332.0" class="grid"/>
|
|
<text x="78" y="336.0" text-anchor="end" class="small">266</text>
|
|
<line x1="90" y1="258.0" x2="1030" y2="258.0" class="grid"/>
|
|
<text x="78" y="262.0" text-anchor="end" class="small">399</text>
|
|
<line x1="90" y1="184.0" x2="1030" y2="184.0" class="grid"/>
|
|
<text x="78" y="188.0" text-anchor="end" class="small">532</text>
|
|
<line x1="90" y1="110.0" x2="1030" y2="110.0" class="grid"/>
|
|
<text x="78" y="114.0" text-anchor="end" class="small">665</text>
|
|
<rect x="171.7" y="158.3" width="150.0" height="321.7" rx="14" class="bar"/>
|
|
<text x="246.7" y="146.3" text-anchor="middle" class="label">578.2 RPS</text>
|
|
<text x="246.7" y="510" text-anchor="middle" class="label">1 replica(s)</text>
|
|
<text x="246.7" y="532" text-anchor="middle" class="small">p95 95.8 ms</text>
|
|
<text x="246.7" y="550" text-anchor="middle" class="small">errors 0.000%</text>
|
|
<rect x="485.0" y="185.4" width="150.0" height="294.6" rx="14" class="bar"/>
|
|
<text x="560.0" y="173.4" text-anchor="middle" class="label">529.5 RPS</text>
|
|
<text x="560.0" y="510" text-anchor="middle" class="label">2 replica(s)</text>
|
|
<text x="560.0" y="532" text-anchor="middle" class="small">p95 100.1 ms</text>
|
|
<text x="560.0" y="550" text-anchor="middle" class="small">errors 0.000%</text>
|
|
<rect x="798.3" y="283.1" width="150.0" height="196.9" rx="14" class="bar"/>
|
|
<text x="873.3" y="271.1" text-anchor="middle" class="label">354.0 RPS</text>
|
|
<text x="873.3" y="510" text-anchor="middle" class="label">4 replica(s)</text>
|
|
<text x="873.3" y="532" text-anchor="middle" class="small">p95 139.4 ms</text>
|
|
<text x="873.3" y="550" text-anchor="middle" class="small">errors 0.000%</text>
|
|
</svg>
|