feat: 가상화 문서들 추가
This commit is contained in:
+84
@@ -0,0 +1,84 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="680" height="670" viewBox="0 0 680 670" role="img" aria-labelledby="diagram-title diagram-description">
|
||||
<title id="diagram-title">프로젝션은 엔티티 적재를 없앴지만 페이지당 자식 전량은 남긴다</title>
|
||||
<desc id="diagram-description">페이지 부모의 키가 자식 IN 조회로 들어간다. 이 조회는 엔티티를 만들지 않지만 페이지 부모의 하이라이트를 전부 가져온다. 화면이 실제로 쓰는 것은 부모별 최신 몇 개뿐이라 가져온 자식 행과 쓰는 자식 행 사이에 차이가 남는다.</desc>
|
||||
<metadata>{"techviz":{"spec_version":"1.1","id":"projection-row-over-fetch","profile":"component-flow"},"source_context":{"document":"docs/n+1liner/final/document.md","document_sha256":"385ca44db5bf763cb1ff28a67d531d68876402b35d21dc54f2bc702e8bda0053","anchor":{"kind":"heading","value":"12.6 프로젝션이 못 푸는 것 — 페이지당 전량","line":1119}},"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="680" height="670" />
|
||||
<polyline class="edge kind-response style-solid emphasis-normal semantic-dashed" points="145.0,291.0 145.0,339.0 145.0,339.0 145.0,387.0" data-evidence="1121-1123" />
|
||||
<rect class="edge-label-bg" x="129.8" y="325.0" width="78.3" height="22" rx="3" />
|
||||
<text class="edge-label" x="169.0" y="340.0">부모별 전량 반환</text>
|
||||
<polyline class="edge kind-query style-solid emphasis-normal" points="145.0,124.0 145.0,172.0 145.0,172.0 145.0,220.0" data-evidence="1121-1122" />
|
||||
<rect class="edge-label-bg" x="136.6" y="158.0" width="64.9" height="22" rx="3" />
|
||||
<text class="edge-label" x="169.0" y="173.0">부모 키 IN</text>
|
||||
<polyline class="edge kind-transform style-dashed emphasis-normal" points="145.0,458.0 145.0,506.0 145.0,506.0 145.0,554.0" data-evidence="1124-1125" />
|
||||
<rect class="edge-label-bg" x="143.2" y="492.0" width="51.5" height="22" rx="3" />
|
||||
<text class="edge-label" x="169.0" y="507.0">부분 사용</text>
|
||||
<g id="node-page-parents">
|
||||
<rect class="node-shape kind-source emphasis-normal role-source" data-evidence="1121-1122" x="70.0" y="60.0" width="150.0" height="64.0" rx="7" />
|
||||
<text class="node-label" x="145.0" y="90.0">페이지 부모</text>
|
||||
</g>
|
||||
<g id="node-child-in-query">
|
||||
<rect class="node-shape kind-service emphasis-normal role-service" data-evidence="1121-1122" x="70.0" y="220.0" width="150.0" height="71.0" rx="7" />
|
||||
<text class="node-label" x="145.0" y="247.0">자식 IN 조회</text>
|
||||
<line class="node-detail-divider" x1="84.0" y1="268.0" x2="206.0" y2="268.0" />
|
||||
<text class="node-detail" x="86.0" y="285.0">엔티티 적재 없음</text>
|
||||
</g>
|
||||
<g id="node-fetched-child-rows">
|
||||
<rect class="node-shape kind-store emphasis-primary role-store" data-evidence="1121-1123" x="70.0" y="387.0" width="150.0" height="71.0" rx="7" />
|
||||
<text class="node-label" x="145.0" y="414.0">자식 행 전량</text>
|
||||
<line class="node-detail-divider" x1="84.0" y1="435.0" x2="206.0" y2="435.0" />
|
||||
<text class="node-detail" x="86.0" y="452.0">페이지 부모 하이라이트 전량</text>
|
||||
</g>
|
||||
<g id="node-screen-need">
|
||||
<rect class="node-shape kind-sink emphasis-normal role-sink" data-evidence="1124-1125" x="70.0" y="554.0" width="150.0" height="71.0" rx="7" />
|
||||
<text class="node-label" x="145.0" y="581.0">화면 사용분</text>
|
||||
<line class="node-detail-divider" x1="84.0" y1="602.0" x2="206.0" y2="602.0" />
|
||||
<text class="node-detail" x="86.0" y="619.0">부모당 최신 몇 개</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 6.8 KiB |
Reference in New Issue
Block a user