refactor: 문서 개선 중
This commit is contained in:
+7
-7
@@ -10,13 +10,13 @@ Keycloak 은 트랜잭션마다 SET LOCAL synchronous_commit TO OFF 를 건다.
|
||||
|
||||
## Elements and evidence
|
||||
|
||||
- **클라이언트** (actor): 200 과 토큰을 받는다. Evidence: L207–L213.
|
||||
- **Keycloak** (service): 트랜잭션마다 synchronous_commit 을 끈다. Evidence: L211–L215.
|
||||
- **PostgreSQL** (datastore): COMMIT 을 즉시 반환한다. WAL 은 아직 메모리에 있다. Evidence: L211–L215.
|
||||
- **디스크의 WAL** (datastore): 여기 닿아야 살아남는다. Evidence: L207–L215.
|
||||
- **클라이언트** (actor): 200 과 토큰을 받는다. Evidence: L513–L518.
|
||||
- **Keycloak** (service): 트랜잭션마다 synchronous_commit 을 끈다. Evidence: L516–L518.
|
||||
- **PostgreSQL** (datastore): COMMIT 을 즉시 반환한다. WAL 은 아직 메모리에 있다. Evidence: L516–L518.
|
||||
- **디스크의 WAL** (datastore): 여기 닿아야 살아남는다. Evidence: L513–L518.
|
||||
|
||||
## Relationships
|
||||
|
||||
- **클라이언트 → Keycloak:** 로그인 요청. Evidence: L207–L211.
|
||||
- **Keycloak → PostgreSQL:** 세션 INSERT · COMMIT. Evidence: L211–L215.
|
||||
- **PostgreSQL → 디스크의 WAL:** 지연된 WAL 기록. Evidence: L211–L215.
|
||||
- **클라이언트 → Keycloak:** 로그인 요청. Evidence: L513–L516.
|
||||
- **Keycloak → PostgreSQL:** 세션 INSERT · COMMIT. Evidence: L516–L518.
|
||||
- **PostgreSQL → 디스크의 WAL:** 지연된 WAL 기록. Evidence: L516–L518.
|
||||
|
||||
+12
-12
@@ -1,35 +1,35 @@
|
||||
<?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="a3-commit-to-disk-gap" name="200 과 디스크 사이의 빈 구간">
|
||||
<mxGraphModel dx="680" dy="742" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
|
||||
<mxGraphModel dx="680" dy="1358" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1358" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0"/>
|
||||
<mxCell id="1" parent="0"/>
|
||||
<mxCell id="n_client" value="클라이언트<br/>성공 응답 153건" tooltip="200 과 토큰을 받는다. | Evidence: L207-L213" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;dashed=1;fillColor=#f5f7fa;strokeColor=#2563eb;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="134.5" y="60.0" width="150.0" height="84.0" as="geometry"/>
|
||||
<mxCell id="n_client" value="클라이언트<br/>성공 응답 153건" tooltip="200 과 토큰을 받는다. | Evidence: L513-L518" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;dashed=1;fillColor=#f5f7fa;strokeColor=#2563eb;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="35.0" y="145.0" width="150.0" height="84.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_keycloak" value="Keycloak<br/>SET LOCAL synchronous_commit TO OFF" tooltip="트랜잭션마다 synchronous_commit 을 끈다. | Evidence: L211-L215" 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="70.0" y="240.0" width="279.0" height="71.0" as="geometry"/>
|
||||
<mxCell id="n_keycloak" value="Keycloak<br/>SET LOCAL synchronous_commit TO OFF" tooltip="트랜잭션마다 synchronous_commit 을 끈다. | Evidence: L516-L518" 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="41.5" y="455.0" width="279.0" height="71.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_pg" value="PostgreSQL<br/>wal_writer_delay 200ms" tooltip="COMMIT 을 즉시 반환한다. WAL 은 아직 메모리에 있다. | Evidence: L211-L215" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;shape=cylinder3;boundedLbl=1;backgroundOutline=1;fillColor=#eef6fb;strokeColor=#d97706;fillColor=#fffdf5;" vertex="1" parent="1">
|
||||
<mxGeometry x="115.5" y="407.0" width="188.0" height="97.0" as="geometry"/>
|
||||
<mxCell id="n_pg" value="PostgreSQL<br/>wal_writer_delay 200ms" tooltip="COMMIT 을 즉시 반환한다. WAL 은 아직 메모리에 있다. | Evidence: L516-L518" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;shape=cylinder3;boundedLbl=1;backgroundOutline=1;fillColor=#eef6fb;strokeColor=#d97706;fillColor=#fffdf5;" vertex="1" parent="1">
|
||||
<mxGeometry x="41.5" y="894.0" width="188.0" height="71.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_disk" value="디스크의 WAL<br/>DB 존재 149건" tooltip="여기 닿아야 살아남는다. | Evidence: L207-L215" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;shape=cylinder3;boundedLbl=1;backgroundOutline=1;fillColor=#eef6fb;strokeColor=#2563eb;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="134.5" y="600.0" width="150.0" height="97.0" as="geometry"/>
|
||||
<mxCell id="n_disk" value="디스크의 WAL<br/>DB 존재 149건" tooltip="여기 닿아야 살아남는다. | Evidence: L513-L518" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;shape=cylinder3;boundedLbl=1;backgroundOutline=1;fillColor=#eef6fb;strokeColor=#2563eb;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="41.5" y="1242.0" width="150.0" height="71.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="e_c-k" value="로그인 요청" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_client" target="n_keycloak">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="233.5" y="192.0" as="offset"/>
|
||||
<mxPoint x="145.5" y="314.0" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_k-pg" value="세션 INSERT · COMMIT" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_keycloak" target="n_pg">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="233.5" y="359.0" as="offset"/>
|
||||
<mxPoint x="158.2" y="682.0" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_pg-disk" value="지연된 WAL 기록" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_pg" target="n_disk">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="233.5" y="552.0" as="offset"/>
|
||||
<mxPoint x="126.0" y="1075.5" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
</root>
|
||||
|
||||
+53
-53
@@ -6,10 +6,10 @@
|
||||
{
|
||||
"id": "edge-c-k",
|
||||
"type": "arrow",
|
||||
"x": 209.5,
|
||||
"y": 144.0,
|
||||
"width": 0.0,
|
||||
"height": 96.0,
|
||||
"x": 110.0,
|
||||
"y": 229.0,
|
||||
"width": 71.0,
|
||||
"height": 226.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
@@ -37,15 +37,15 @@
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
48.0
|
||||
113.0
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
48.0
|
||||
71.0,
|
||||
113.0
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
96.0
|
||||
71.0,
|
||||
226.0
|
||||
]
|
||||
],
|
||||
"lastCommittedPoint": null,
|
||||
@@ -66,8 +66,8 @@
|
||||
{
|
||||
"id": "edge-label-c-k",
|
||||
"type": "text",
|
||||
"x": 188.5,
|
||||
"y": 180.0,
|
||||
"x": 100.5,
|
||||
"y": 302.0,
|
||||
"width": 90,
|
||||
"height": 24,
|
||||
"angle": 0,
|
||||
@@ -105,10 +105,10 @@
|
||||
{
|
||||
"id": "edge-k-pg",
|
||||
"type": "arrow",
|
||||
"x": 209.5,
|
||||
"y": 311.0,
|
||||
"width": 0.0,
|
||||
"height": 96.0,
|
||||
"x": 135.5,
|
||||
"y": 526.0,
|
||||
"width": 45.5,
|
||||
"height": 368.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
@@ -131,20 +131,20 @@
|
||||
"locked": false,
|
||||
"points": [
|
||||
[
|
||||
0.0,
|
||||
45.5,
|
||||
0.0
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
48.0
|
||||
45.5,
|
||||
184.0
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
48.0
|
||||
184.0
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
96.0
|
||||
368.0
|
||||
]
|
||||
],
|
||||
"lastCommittedPoint": null,
|
||||
@@ -165,8 +165,8 @@
|
||||
{
|
||||
"id": "edge-label-k-pg",
|
||||
"type": "text",
|
||||
"x": 161.5,
|
||||
"y": 347.0,
|
||||
"x": 86.25,
|
||||
"y": 670.0,
|
||||
"width": 144,
|
||||
"height": 24,
|
||||
"angle": 0,
|
||||
@@ -204,10 +204,10 @@
|
||||
{
|
||||
"id": "edge-pg-disk",
|
||||
"type": "arrow",
|
||||
"x": 209.5,
|
||||
"y": 504.0,
|
||||
"width": 0.0,
|
||||
"height": 96.0,
|
||||
"x": 116.5,
|
||||
"y": 965.0,
|
||||
"width": 19.0,
|
||||
"height": 277.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
@@ -230,20 +230,20 @@
|
||||
"locked": false,
|
||||
"points": [
|
||||
[
|
||||
0.0,
|
||||
19.0,
|
||||
0.0
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
48.0
|
||||
19.0,
|
||||
138.5
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
48.0
|
||||
138.5
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
96.0
|
||||
277.0
|
||||
]
|
||||
],
|
||||
"lastCommittedPoint": null,
|
||||
@@ -264,8 +264,8 @@
|
||||
{
|
||||
"id": "edge-label-pg-disk",
|
||||
"type": "text",
|
||||
"x": 188.5,
|
||||
"y": 540.0,
|
||||
"x": 81.0,
|
||||
"y": 1063.5,
|
||||
"width": 90,
|
||||
"height": 24,
|
||||
"angle": 0,
|
||||
@@ -303,8 +303,8 @@
|
||||
{
|
||||
"id": "node-client",
|
||||
"type": "rectangle",
|
||||
"x": 134.5,
|
||||
"y": 60.0,
|
||||
"x": 35.0,
|
||||
"y": 145.0,
|
||||
"width": 150.0,
|
||||
"height": 84.0,
|
||||
"angle": 0,
|
||||
@@ -333,8 +333,8 @@
|
||||
{
|
||||
"id": "node-label-client",
|
||||
"type": "text",
|
||||
"x": 144.5,
|
||||
"y": 70.0,
|
||||
"x": 45.0,
|
||||
"y": 155.0,
|
||||
"width": 130.0,
|
||||
"height": 64.0,
|
||||
"angle": 0,
|
||||
@@ -372,8 +372,8 @@
|
||||
{
|
||||
"id": "node-keycloak",
|
||||
"type": "rectangle",
|
||||
"x": 70.0,
|
||||
"y": 240.0,
|
||||
"x": 41.5,
|
||||
"y": 455.0,
|
||||
"width": 279.0,
|
||||
"height": 71.0,
|
||||
"angle": 0,
|
||||
@@ -402,8 +402,8 @@
|
||||
{
|
||||
"id": "node-label-keycloak",
|
||||
"type": "text",
|
||||
"x": 80.0,
|
||||
"y": 250.0,
|
||||
"x": 51.5,
|
||||
"y": 465.0,
|
||||
"width": 259.0,
|
||||
"height": 51.0,
|
||||
"angle": 0,
|
||||
@@ -441,10 +441,10 @@
|
||||
{
|
||||
"id": "node-pg",
|
||||
"type": "rectangle",
|
||||
"x": 115.5,
|
||||
"y": 407.0,
|
||||
"x": 41.5,
|
||||
"y": 894.0,
|
||||
"width": 188.0,
|
||||
"height": 97.0,
|
||||
"height": 71.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "#e7f5ff",
|
||||
@@ -471,10 +471,10 @@
|
||||
{
|
||||
"id": "node-label-pg",
|
||||
"type": "text",
|
||||
"x": 125.5,
|
||||
"y": 417.0,
|
||||
"x": 51.5,
|
||||
"y": 904.0,
|
||||
"width": 168.0,
|
||||
"height": 77.0,
|
||||
"height": 51.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
@@ -510,10 +510,10 @@
|
||||
{
|
||||
"id": "node-disk",
|
||||
"type": "rectangle",
|
||||
"x": 134.5,
|
||||
"y": 600.0,
|
||||
"x": 41.5,
|
||||
"y": 1242.0,
|
||||
"width": 150.0,
|
||||
"height": 97.0,
|
||||
"height": 71.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "#e7f5ff",
|
||||
@@ -540,10 +540,10 @@
|
||||
{
|
||||
"id": "node-label-disk",
|
||||
"type": "text",
|
||||
"x": 144.5,
|
||||
"y": 610.0,
|
||||
"x": 51.5,
|
||||
"y": 1252.0,
|
||||
"width": 130.0,
|
||||
"height": 77.0,
|
||||
"height": 51.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
|
||||
+4
-4
@@ -2,14 +2,14 @@
|
||||
"harness_version": "0.2.0",
|
||||
"spec_id": "a3-commit-to-disk-gap",
|
||||
"spec_version": "1.1",
|
||||
"spec_sha256": "1dfb52c8df3953df103ea2d515cf5a4f3cfed507d286e093fad31b583a851ce2",
|
||||
"spec_sha256": "a0c44206073887a8248aba92dcb37a69aed2084c72215b2c76fefdb266807c3e",
|
||||
"source_context": {
|
||||
"document": "docs/keycloak-session-store/final/document.md",
|
||||
"document_sha256": "1d44cba1905544d92f1d26ae36a8deb64a3db3914d6b488fd30d6ae7f8cfbabe",
|
||||
"document_sha256": "28aef96a2bbb94fbb10ade26a71238fee62a5a4d9fa6e7749ae98cfd0a65e560",
|
||||
"anchor": {
|
||||
"kind": "heading",
|
||||
"value": "A-2 · A-3 — DB 가 멈출 때와 죽을 때",
|
||||
"line": 201
|
||||
"line": 506
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
@@ -21,7 +21,7 @@
|
||||
"a3-commit-to-disk-gap.excalidraw",
|
||||
"a3-commit-to-disk-gap.alt.md"
|
||||
],
|
||||
"lint_issue_count": 0,
|
||||
"lint_issue_count": 1,
|
||||
"assumption_count": 0,
|
||||
"assumptions_allowed": false,
|
||||
"composition_profile": "component-flow",
|
||||
|
||||
+26
-26
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="680" height="742" viewBox="0 0 680 742" role="img" aria-labelledby="diagram-title diagram-description">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="680" height="1358" viewBox="0 0 680 1358" role="img" aria-labelledby="diagram-title diagram-description">
|
||||
<title id="diagram-title">200 과 디스크 사이의 빈 구간</title>
|
||||
<desc id="diagram-description">Keycloak 은 트랜잭션마다 SET LOCAL synchronous_commit TO OFF 를 건다. PostgreSQL 은 COMMIT 을 WAL 디스크 기록을 기다리지 않고 즉시 반환하고, 클라이언트는 200 과 토큰을 받는다. 실측된 wal_writer_delay 는 200ms 이며 그 사이에 프로세스가 죽으면 그만큼이 사라진다. 153건 중 4건이 그렇게 유실됐다. 버그가 아니라 의도된 설계이고 그 대가를 숫자로 확인한 것이다.</desc>
|
||||
<metadata>{"techviz":{"spec_version":"1.1","id":"a3-commit-to-disk-gap","profile":"component-flow"},"source_context":{"document":"docs/keycloak-session-store/final/document.md","document_sha256":"1d44cba1905544d92f1d26ae36a8deb64a3db3914d6b488fd30d6ae7f8cfbabe","anchor":{"kind":"heading","value":"A-2 · A-3 — DB 가 멈출 때와 죽을 때","line":201}},"evidence_policy":"Each factual element cites source lines or is marked assumption.","diagram_only":true}</metadata>
|
||||
<metadata>{"techviz":{"spec_version":"1.1","id":"a3-commit-to-disk-gap","profile":"component-flow"},"source_context":{"document":"docs/keycloak-session-store/final/document.md","document_sha256":"28aef96a2bbb94fbb10ade26a71238fee62a5a4d9fa6e7749ae98cfd0a65e560","anchor":{"kind":"heading","value":"A-2 · A-3 — DB 가 멈출 때와 죽을 때","line":506}},"evidence_policy":"Each factual element cites source lines or is marked assumption.","diagram_only":true}</metadata>
|
||||
<defs>
|
||||
<marker id="arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
|
||||
<path d="M 0 0 L 10 5 L 0 10 z" />
|
||||
@@ -49,36 +49,36 @@
|
||||
.timeline-detail { font-size: 11px; fill: #4b5563; text-anchor: middle; }
|
||||
</style>
|
||||
</defs>
|
||||
<rect class="canvas" width="680" height="742" />
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="209.5,144.0 209.5,192.0 209.5,192.0 209.5,240.0" data-evidence="207-211" />
|
||||
<rect class="edge-label-bg" x="204.4" y="178.0" width="58.2" height="22" rx="3" />
|
||||
<text class="edge-label" x="233.5" y="193.0">로그인 요청</text>
|
||||
<polyline class="edge kind-write style-solid emphasis-normal" points="209.5,311.0 209.5,359.0 209.5,359.0 209.5,407.0" data-evidence="211-215" />
|
||||
<rect class="edge-label-bg" x="164.2" y="345.0" width="138.6" height="22" rx="3" />
|
||||
<text class="edge-label" x="233.5" y="360.0">세션 INSERT · COMMIT</text>
|
||||
<polyline class="edge kind-write style-solid emphasis-normal" points="209.5,504.0 209.5,552.0 209.5,552.0 209.5,600.0" data-evidence="211-215" />
|
||||
<rect class="edge-label-bg" x="191.0" y="538.0" width="85.0" height="22" rx="3" />
|
||||
<text class="edge-label" x="233.5" y="553.0">지연된 WAL 기록</text>
|
||||
<rect class="canvas" width="680" height="1358" />
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="110.0,229.0 110.0,342.0 181.0,342.0 181.0,455.0" data-evidence="513-516" />
|
||||
<rect class="edge-label-bg" x="116.4" y="300.0" width="58.2" height="22" rx="3" />
|
||||
<text class="edge-label" x="145.5" y="315.0">로그인 요청</text>
|
||||
<polyline class="edge kind-write style-solid emphasis-normal" points="181.0,526.0 181.0,710.0 135.5,710.0 135.5,894.0" data-evidence="516-518" />
|
||||
<rect class="edge-label-bg" x="88.9" y="668.0" width="138.6" height="22" rx="3" />
|
||||
<text class="edge-label" x="158.2" y="683.0">세션 INSERT · COMMIT</text>
|
||||
<polyline class="edge kind-write style-solid emphasis-normal" points="135.5,965.0 135.5,1103.5 116.5,1103.5 116.5,1242.0" data-evidence="516-518" />
|
||||
<rect class="edge-label-bg" x="83.5" y="1061.5" width="85.0" height="22" rx="3" />
|
||||
<text class="edge-label" x="126.0" y="1076.5">지연된 WAL 기록</text>
|
||||
<g id="node-client">
|
||||
<g class="actor-symbol emphasis-primary" data-evidence="207-213"><circle cx="209.5" cy="80.0" r="11.0" /><line x1="209.5" y1="96.0" x2="209.5" y2="105.0" /><line x1="191.5" y1="106.0" x2="227.5" y2="106.0" /><line x1="209.5" y1="105.0" x2="194.5" y2="122.0" /><line x1="209.5" y1="105.0" x2="224.5" y2="122.0" /></g>
|
||||
<text class="node-label" x="209.5" y="137.0">클라이언트</text>
|
||||
<g class="actor-symbol emphasis-primary" data-evidence="513-518"><circle cx="110.0" cy="165.0" r="11.0" /><line x1="110.0" y1="181.0" x2="110.0" y2="200.0" /><line x1="92.0" y1="191.0" x2="128.0" y2="191.0" /><line x1="110.0" y1="200.0" x2="95.0" y2="217.0" /><line x1="110.0" y1="200.0" x2="125.0" y2="217.0" /></g>
|
||||
<text class="node-label" x="110.0" y="222.0">클라이언트</text>
|
||||
</g>
|
||||
<g id="node-keycloak">
|
||||
<rect class="node-shape kind-service emphasis-normal role-control" data-evidence="211-215" x="70.0" y="240.0" width="279.0" height="71.0" rx="7" />
|
||||
<text class="node-label" x="209.5" y="267.0">Keycloak</text>
|
||||
<line class="node-detail-divider" x1="84.0" y1="288.0" x2="335.0" y2="288.0" />
|
||||
<text class="node-detail" x="86.0" y="305.0">SET LOCAL synchronous_commit TO OFF</text>
|
||||
<rect class="node-shape kind-service emphasis-normal role-control" data-evidence="516-518" x="41.5" y="455.0" width="279.0" height="71.0" rx="7" />
|
||||
<text class="node-label" x="181.0" y="482.0">Keycloak</text>
|
||||
<line class="node-detail-divider" x1="55.5" y1="503.0" x2="306.5" y2="503.0" />
|
||||
<text class="node-detail" x="57.5" y="520.0">SET LOCAL synchronous_commit TO OFF</text>
|
||||
</g>
|
||||
<g id="node-pg">
|
||||
<rect class="node-shape kind-datastore emphasis-warning role-control" data-evidence="211-215" x="115.5" y="420.0" width="188.0" height="71.0" /><ellipse class="node-shape kind-datastore emphasis-warning role-control" cx="209.5" cy="420.0" rx="94.0" ry="13.0" /><path class="storage-bottom" d="M 115.5 491.0 A 94.0 13.0 0 0 0 303.5 491.0" />
|
||||
<text class="node-label" x="209.5" y="447.0">PostgreSQL</text>
|
||||
<line class="node-detail-divider" x1="129.5" y1="468.0" x2="289.5" y2="468.0" />
|
||||
<text class="node-detail" x="131.5" y="485.0">wal_writer_delay 200ms</text>
|
||||
<rect class="node-shape kind-datastore emphasis-warning role-control" data-evidence="516-518" x="41.5" y="905.8" width="188.0" height="47.3" /><ellipse class="node-shape kind-datastore emphasis-warning role-control" cx="135.5" cy="905.8" rx="94.0" ry="11.8" /><path class="storage-bottom" d="M 41.5 953.2 A 94.0 11.8 0 0 0 229.5 953.2" />
|
||||
<text class="node-label" x="135.5" y="921.0">PostgreSQL</text>
|
||||
<line class="node-detail-divider" x1="55.5" y1="942.0" x2="215.5" y2="942.0" />
|
||||
<text class="node-detail" x="57.5" y="959.0">wal_writer_delay 200ms</text>
|
||||
</g>
|
||||
<g id="node-disk">
|
||||
<rect class="node-shape kind-datastore emphasis-primary role-target" data-evidence="207-215" x="134.5" y="613.0" width="150.0" height="71.0" /><ellipse class="node-shape kind-datastore emphasis-primary role-target" cx="209.5" cy="613.0" rx="75.0" ry="13.0" /><path class="storage-bottom" d="M 134.5 684.0 A 75.0 13.0 0 0 0 284.5 684.0" />
|
||||
<text class="node-label" x="209.5" y="640.0">디스크의 WAL</text>
|
||||
<line class="node-detail-divider" x1="148.5" y1="661.0" x2="270.5" y2="661.0" />
|
||||
<text class="node-detail" x="150.5" y="678.0">DB 존재 149건</text>
|
||||
<rect class="node-shape kind-datastore emphasis-primary role-target" data-evidence="513-518" x="41.5" y="1253.8" width="150.0" height="47.3" /><ellipse class="node-shape kind-datastore emphasis-primary role-target" cx="116.5" cy="1253.8" rx="75.0" ry="11.8" /><path class="storage-bottom" d="M 41.5 1301.2 A 75.0 11.8 0 0 0 191.5 1301.2" />
|
||||
<text class="node-label" x="116.5" y="1269.0">디스크의 WAL</text>
|
||||
<line class="node-detail-divider" x1="55.5" y1="1290.0" x2="177.5" y2="1290.0" />
|
||||
<text class="node-detail" x="57.5" y="1307.0">DB 존재 149건</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 7.3 KiB |
Reference in New Issue
Block a user