The skill says drawings carry names and sentences go in <desc> and the paragraph beside the figure. I put sentences in node details and edge labels instead, and 27 of the 28 diagrams shipped with prose inside the canvas — "예측 다섯 개가 틀렸다", "아홉 번 조용히 실패했다", "막혀서 닿지 않는다". Only label and details render on the canvas; description does not. So every sentence moved to a noun phrase and the meaning stays in description, which was already carrying it. 막혀서 닿지 않는다 -> 차단 아홉 번 조용히 실패했다 -> 조용한 실패 9건 예측 다섯 개가 틀렸다 -> 틀린 예측 5건 로그아웃이 정리하지 않는다 -> 로그아웃 미정리 볼륨이 없으면 여기까지다 -> 볼륨 없음 Three node labels were sentences too and became names: 세션 스냅샷, 예측 선기록, 대조군 확보. What stays is what the rules protect — identifiers, commands and measured values: PRIMARY KEY (client_registration_id, principal_name), ValidationFailedException: 1 changesets check sum, nginx -t && nginx -s reload, SET LOCAL synchronous_commit TO OFF. Those are names of things, not prose about them. 294 canvas strings across 28 diagrams, none matching a sentence ending, average 11 characters. All 28 still lint clean and re-rendered. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
90 lines
7.6 KiB
XML
90 lines
7.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="958" height="345" viewBox="0 0 958 345" role="img" aria-labelledby="diagram-title diagram-description">
|
|
<title id="diagram-title">인증서 갱신이 서빙에 닿기까지</title>
|
|
<desc id="diagram-description">certbot renew 는 archive 디렉터리에 새 인증서를 쓰고 live 심볼릭 링크가 그것을 가리키게 한다. nginx 는 ssl_certificate 가 가리키는 파일을 기동 시점에 한 번 읽어 메모리에 보관하므로, 경로가 그대로여도 reload 없이는 옛 인증서를 계속 서빙한다. 이 실험대에서는 certbot-renew.service 의 ExecStartPost, renewal-hooks 의 세 디렉터리, certbot 의 nginx 플러그인이 모두 비어 있어 2305초 동안 옛 인증서가 서빙됐다. deploy 훅 하나를 넣자 같은 구간이 1~2초가 됐다.</desc>
|
|
<metadata>{"techviz":{"spec_version":"1.1","id":"renewal-to-serving-gap","profile":"component-flow"},"source_context":{"document":"docs/keycloak-session-store/final/document.md","document_sha256":"609353e10bfd37a9bbb6a79ecf2a32f3d3c02d5d161879a14ad4713e49e7e5e8","anchor":{"kind":"heading","value":"D-4 · D-4a — 인증서, 그리고 이 실험대 최대의 발견","line":497}},"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" />
|
|
</marker>
|
|
<style>
|
|
:root { color-scheme: light; }
|
|
text { font-family: Inter, Pretendard, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; fill: #111827; }
|
|
.canvas { fill: #ffffff; }
|
|
.group-box { fill: #ffffff; stroke: #9ca3af; stroke-width: 1.4; stroke-dasharray: 7 5; }
|
|
.group-label-bg { fill: #ffffff; }
|
|
.group-label { font-size: 13px; font-weight: 650; fill: #374151; }
|
|
.edge { fill: none; stroke: #374151; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; marker-end: url(#arrow); }
|
|
.edge.style-dashed, .edge.semantic-dashed, .edge.assumption { stroke-dasharray: 7 5; }
|
|
.edge.style-dotted { stroke-dasharray: 2 5; }
|
|
.edge.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
|
.edge.emphasis-muted { stroke: #9ca3af; }
|
|
.edge.emphasis-warning, .edge.kind-failure, .edge.kind-error { stroke: #dc2626; stroke-width: 2.2; }
|
|
.edge-label-bg { fill: #ffffff; }
|
|
.edge-label { font-size: 12px; font-weight: 560; text-anchor: middle; }
|
|
.node-shape { fill: #ffffff; stroke: #4b5563; stroke-width: 1.7; }
|
|
.node-shape.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
|
.node-shape.emphasis-muted { stroke: #9ca3af; fill: #f9fafb; }
|
|
.node-shape.emphasis-warning { stroke: #d97706; stroke-width: 2; fill: #fffdf5; }
|
|
.node-shape.kind-database, .node-shape.kind-datastore, .node-shape.kind-storage { fill: #f8fafc; }
|
|
.node-shape.kind-queue, .node-shape.kind-event, .node-shape.kind-topic { fill: #fafafa; }
|
|
.node-shape.assumption { stroke-dasharray: 4 4; }
|
|
.storage-bottom, .controller-divider { fill: none; stroke: #4b5563; stroke-width: 1.4; }
|
|
.controller-led { fill: #4b5563; }
|
|
.actor-symbol { fill: none; stroke: #4b5563; stroke-width: 1.8; stroke-linecap: round; }
|
|
.actor-symbol.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
|
.node-label { font-size: 14px; font-weight: 650; text-anchor: middle; }
|
|
.node-role { font-size: 10px; letter-spacing: 0.04em; text-anchor: middle; fill: #6b7280; }
|
|
.node-detail-divider { stroke: #d1d5db; stroke-width: 1; }
|
|
.node-detail { font-size: 11px; fill: #374151; }
|
|
.assumption-badge { font-size: 9px; font-weight: 700; fill: #92400e; }
|
|
.failure-mark { stroke: #dc2626; stroke-width: 4; stroke-linecap: round; }
|
|
.lifeline { stroke: #9ca3af; stroke-width: 1.2; stroke-dasharray: 5 5; }
|
|
.timeline-axis { stroke: #374151; stroke-width: 1.8; marker-end: url(#arrow); }
|
|
.timeline-stem { stroke: #6b7280; stroke-width: 1.3; }
|
|
.timeline-marker { fill: #ffffff; stroke: #374151; stroke-width: 1.7; }
|
|
.timeline-marker.primary { fill: #2563eb; stroke: #2563eb; }
|
|
.timeline-marker.warning { fill: #dc2626; stroke: #dc2626; }
|
|
.timeline-label { font-size: 13px; font-weight: 650; text-anchor: middle; }
|
|
.timeline-detail { font-size: 11px; fill: #4b5563; text-anchor: middle; }
|
|
</style>
|
|
</defs>
|
|
<rect class="canvas" width="958" height="345" />
|
|
<polyline class="edge kind-blocked style-solid emphasis-normal" points="575.0,251.5 669.0,251.5 669.0,189.0 763.0,189.0" data-evidence="536-540" />
|
|
<rect class="edge-label-bg" x="653.9" y="206.2" width="78.3" height="22" rx="3" />
|
|
<text class="edge-label" x="693.0" y="221.2">reload 필요</text>
|
|
<polyline class="edge kind-request style-solid emphasis-normal" points="603.0,95.5 683.0,95.5 683.0,171.0 763.0,171.0" data-evidence="556-562" />
|
|
<rect class="edge-label-bg" x="667.9" y="119.2" width="78.3" height="22" rx="3" />
|
|
<text class="edge-label" x="707.0" y="134.2">reload 신호</text>
|
|
<polyline class="edge kind-request style-solid emphasis-normal" points="220.0,171.0 300.0,171.0 300.0,95.5 380.0,95.5" data-evidence="527-533" />
|
|
<rect class="edge-label-bg" x="281.5" y="119.2" width="85.0" height="22" rx="3" />
|
|
<text class="edge-label" x="324.0" y="134.2">갱신 성공 시 호출</text>
|
|
<polyline class="edge kind-write style-solid emphasis-normal" points="220.0,189.0 314.0,189.0 314.0,251.5 408.0,251.5" data-evidence="504-510" />
|
|
<rect class="edge-label-bg" x="302.2" y="206.2" width="71.6" height="22" rx="3" />
|
|
<text class="edge-label" x="338.0" y="221.2">새 인증서 기록</text>
|
|
<g id="node-certbot">
|
|
<rect class="node-shape kind-process emphasis-primary role-source" data-evidence="499-504" x="70.0" y="144.5" width="150.0" height="71.0" rx="7" />
|
|
<text class="node-label" x="145.0" y="171.5">certbot renew</text>
|
|
<line class="node-detail-divider" x1="84.0" y1="192.5" x2="206.0" y2="192.5" />
|
|
<text class="node-detail" x="86.0" y="209.5">--force-renewal</text>
|
|
</g>
|
|
<g id="node-deploy-hook">
|
|
<rect class="node-shape kind-process emphasis-warning role-control" data-evidence="527-533" x="380.0" y="60.0" width="223.0" height="71.0" rx="7" />
|
|
<text class="node-label" x="491.5" y="87.0">renewal-hooks/deploy</text>
|
|
<line class="node-detail-divider" x1="394.0" y1="108.0" x2="589.0" y2="108.0" />
|
|
<text class="node-detail" x="396.0" y="125.0">nginx -t && nginx -s reload</text>
|
|
</g>
|
|
<g id="node-live-link">
|
|
<rect class="node-shape kind-datastore emphasis-primary role-store" data-evidence="536-540" x="408.0" y="216.0" width="167.0" height="71.0" /><ellipse class="node-shape kind-datastore emphasis-primary role-store" cx="491.5" cy="216.0" rx="83.5" ry="13.0" /><path class="storage-bottom" d="M 408.0 287.0 A 83.5 13.0 0 0 0 575.0 287.0" />
|
|
<text class="node-label" x="491.5" y="243.0">live/fullchain.pem</text>
|
|
<line class="node-detail-divider" x1="422.0" y1="264.0" x2="561.0" y2="264.0" />
|
|
<text class="node-detail" x="424.0" y="281.0">→ archive/cert2.pem</text>
|
|
</g>
|
|
<g id="node-nginx">
|
|
<rect class="node-shape kind-service emphasis-primary role-target" data-evidence="541-548" x="763.0" y="144.5" width="150.0" height="71.0" rx="7" />
|
|
<text class="node-label" x="838.0" y="171.5">nginx 워커</text>
|
|
<line class="node-detail-divider" x1="777.0" y1="192.5" x2="899.0" y2="192.5" />
|
|
<text class="node-detail" x="779.0" y="209.5">마스터 유지 · 워커 교체</text>
|
|
</g>
|
|
</svg>
|