Files
document-haness/docs/keycloak-session-store/final/assets/a6-latency-multiplication/a6-latency-multiplication.drawio
T

39 lines
3.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<mxfile host="app.diagrams.net" modified="2026-07-23T00:00:00.000Z" agent="techviz-harness" version="24.7.17" type="device">
<diagram id="a6-latency-multiplication" name="지연이 곱해지는 두 단계">
<mxGraphModel dx="680" dy="1194" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1194" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="n_inject" value="주입한 지연&lt;br/&gt;200 ms" tooltip="tc netem 으로 넣는다. | Evidence: L590-L593" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;strokeColor=#d97706;fillColor=#fffdf5;" vertex="1" parent="1">
<mxGeometry x="35.0" y="145.0" width="150.0" height="71.0" as="geometry"/>
</mxCell>
<mxCell id="n_roundtrips" value="왕복 횟수만큼 누적&lt;br/&gt;66ms → 1,872ms" tooltip="로그인 한 번이 DB 를 여러 번 왕복한다. | Evidence: L594-L598" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
<mxGeometry x="35.0" y="455.0" width="150.0" height="71.0" as="geometry"/>
</mxCell>
<mxCell id="n_pool" value="커넥션 풀 대기&lt;br/&gt;획득 대기 최대 20,000ms" tooltip="앞 요청이 커넥션을 붙들어 뒤가 밀린다. | Evidence: L600-L602" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;strokeColor=#d97706;fillColor=#fffdf5;" vertex="1" parent="1">
<mxGeometry x="35.0" y="765.0" width="153.0" height="71.0" as="geometry"/>
</mxCell>
<mxCell id="n_probe" value="readiness 실패&lt;br/&gt;동시 20건 최대 22.2초" tooltip="느린 노드가 로드밸런서에서 빠진다. | Evidence: L604-L605" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;strokeColor=#d97706;fillColor=#fffdf5;" vertex="1" parent="1">
<mxGeometry x="35.0" y="1078.0" width="150.0" height="71.0" as="geometry"/>
</mxCell>
<mxCell id="e_i-r" value="왕복당 누적" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_inject" target="n_roundtrips">
<mxGeometry relative="1" as="geometry">
<mxPoint x="134.0" y="335.5" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="e_p-pr" value="프로브도 타임아웃" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_pool" target="n_probe">
<mxGeometry relative="1" as="geometry">
<mxPoint x="110.8" y="929.0" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="e_r-p" value="커넥션 점유" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_roundtrips" target="n_pool">
<mxGeometry relative="1" as="geometry">
<mxPoint x="110.8" y="617.5" as="offset"/>
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>