Files
mtusi2026lab2/evidence/grade5/comparison.svg
T
gamayunov2004 799f56c513
Student application / application (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s
ЛР 2: исследовать и ограничить cache stampede — на 5
2026-10-25 15:42:14 +03:00

45 lines
4.6 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" width="1100" height="570" viewBox="0 0 1100 570"><rect width="1100" height="570" fill="white"/><style>text{font:14px sans-serif;fill:#172033}</style><text x="30" y="30" style="font-size:22px">Cache stampede: medians of 3 repeats; whiskers = min/max</text>
<text x="50" y="65">profile_select per repeat (512 HTTP requests)</text>
<path d="M50 440.0h460" stroke="#ddd"/><text x="50" y="436.0">0.0</text>
<path d="M50 357.5h460" stroke="#ddd"/><text x="50" y="353.5">142.8</text>
<path d="M50 275.0h460" stroke="#ddd"/><text x="50" y="271.0">285.6</text>
<path d="M50 192.5h460" stroke="#ddd"/><text x="50" y="188.5">428.4</text>
<path d="M50 110.0h460" stroke="#ddd"/><text x="50" y="106.0">571.2</text>
<rect x="100" y="174.8214285714286" width="32" height="265.1785714285714" fill="#e47b43"/>
<path d="M116 206.01890756302524V172.5105042016807m-6 0h12M110 206.01890756302524h12" stroke="#172033" fill="none"/><text x="96" y="164.5105042016807">459.0</text>
<rect x="142" y="421.5126050420168" width="32" height="18.48739495798319" fill="#2a8990"/>
<path d="M158 421.5126050420168V421.5126050420168m-6 0h12M152 421.5126050420168h12" stroke="#172033" fill="none"/><text x="138" y="413.5126050420168">32.0</text>
<text x="95" y="465">cold</text>
<rect x="250" y="146.51260504201684" width="32" height="293.48739495798316" fill="#e47b43"/>
<path d="M266 148.24579831932772V145.3571428571429m-6 0h12M260 148.24579831932772h12" stroke="#172033" fill="none"/><text x="246" y="137.3571428571429">508.0</text>
<rect x="292" y="421.5126050420168" width="32" height="18.48739495798319" fill="#2a8990"/>
<path d="M308 421.5126050420168V421.5126050420168m-6 0h12M302 421.5126050420168h12" stroke="#172033" fill="none"/><text x="288" y="413.5126050420168">32.0</text>
<text x="245" y="465">contended</text>
<rect x="400" y="414.5798319327731" width="32" height="25.420168067226886" fill="#e47b43"/>
<path d="M416 415.7352941176471V406.49159663865544m-6 0h12M410 415.7352941176471h12" stroke="#172033" fill="none"/><text x="396" y="398.49159663865544">44.0</text>
<rect x="442" y="440.0" width="32" height="0.0" fill="#2a8990"/>
<path d="M458 440.0V440.0m-6 0h12M452 440.0h12" stroke="#172033" fill="none"/><text x="438" y="432.0">0.0</text>
<text x="395" y="465">warm</text>
<text x="600" y="65">p95_ms per repeat (512 HTTP requests)</text>
<path d="M600 440.0h460" stroke="#ddd"/><text x="600" y="436.0">0.0</text>
<path d="M600 357.5h460" stroke="#ddd"/><text x="600" y="353.5">88.6</text>
<path d="M600 275.0h460" stroke="#ddd"/><text x="600" y="271.0">177.3</text>
<path d="M600 192.5h460" stroke="#ddd"/><text x="600" y="188.5">265.9</text>
<path d="M600 110.0h460" stroke="#ddd"/><text x="600" y="106.0">354.6</text>
<rect x="650" y="180.08672088359987" width="32" height="259.91327911640013" fill="#e47b43"/>
<path d="M666 227.27892880994898V153.5588975679495m-6 0h12M660 227.27892880994898h12" stroke="#172033" fill="none"/><text x="646" y="145.5588975679495">279.3</text>
<rect x="692" y="284.1755158082923" width="32" height="155.82448419170774" fill="#2a8990"/>
<path d="M708 288.4903748808026V275.6475675530287m-6 0h12M702 288.4903748808026h12" stroke="#172033" fill="none"/><text x="688" y="267.6475675530287">167.4</text>
<text x="645" y="465">cold</text>
<rect x="800" y="171.607400044948" width="32" height="268.392599955052" fill="#e47b43"/>
<path d="M816 199.07145257650402V145.3571428571429m-6 0h12M810 199.07145257650402h12" stroke="#172033" fill="none"/><text x="796" y="137.3571428571429">288.4</text>
<rect x="842" y="282.2123363126768" width="32" height="157.7876636873232" fill="#2a8990"/>
<path d="M858 291.42204955824457V268.7765230815236m-6 0h12M852 291.42204955824457h12" stroke="#172033" fill="none"/><text x="838" y="260.7765230815236">169.5</text>
<text x="795" y="465">contended</text>
<rect x="950" y="271.1465270476159" width="32" height="168.85347295238412" fill="#e47b43"/>
<path d="M966 282.8378306429232V258.4230089136472m-6 0h12M960 282.8378306429232h12" stroke="#172033" fill="none"/><text x="946" y="250.4230089136472">181.4</text>
<rect x="992" y="277.32746897696916" width="32" height="162.67253102303087" fill="#2a8990"/>
<path d="M1008 285.4673257612603V239.1775565265086m-6 0h12M1002 285.4673257612603h12" stroke="#172033" fill="none"/><text x="988" y="231.1775565265086">174.8</text>
<text x="945" y="465">warm</text>
<rect x="80" y="500" width="15" height="15" fill="#e47b43"/><text x="100" y="513">baseline</text><rect x="220" y="500" width="15" height="15" fill="#2a8990"/><text x="240" y="513">candidate</text><text x="50" y="548">Contended: observer locks users for ~100 ms; latency includes this controlled delay. No max-RPS claim.</text></svg>