Files
document-haness/docs/clean-architecture-backend-template/final/assets/diagrams/messaging-inbox-jdbc-postgresql-c06.svg
T
DongHyeonkaandClaude Opus 5 b2963105a8 docs(keycloak-session-store): import the session-storage lab as a new project
The keycloak project ended with four open questions that design could not
settle. A two-VM lab was built to answer them by measurement, and this is
that material: 26 experiments, 125 raw command outputs, 22 browser captures.

Follows the import procedure in README.md.

  source/     the originating repository verbatim — 78 documents, 28 SVGs,
              8 manifests, plus .source-revision recording the commit
  final/      the SSOT
    document.md   729 lines written from the 29 experiment documents, not
                  concatenated: what was predicted, what was measured, and
                  where the measurement itself was wrong
    evidence/raw    125 outputs, flattened to <experiment>__<file> because
                    the originals collided (01-baseline.txt appeared three
                    times) and the audit only globs the top level
    evidence/meta   one per raw file; command and exitCode are null and the
                    README says why rather than inventing them
    evidence/browser  22 captures
    assets/       three diagrams through techviz
    .techviz/     their VizSpecs

A separate project rather than an addition to keycloak: the B-layer answers
that project's four questions, but the A, C and D layers are about cluster
failure, SSO and operations, and one document.md should hold one subject.
The four question records there can point here through 관계.

Recorded rather than papered over: only three of the 28 diagrams were
remade. The repository forbids hand-drawn SVG and forbids titles inside the
canvas; all 28 originals carry both, so converting them is redrawing, not
reformatting. They stay in source/ and the gap is written into the document.

verify-pipeline.py passes. audit-records.py reports no issues.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-04 22:51:59 +09:00

18 lines
2.1 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" width="880" height="196" viewBox="0 0 880 196" role="img">
<title>커넥션 조회보다 앞선 검사</title>
<desc>커넥션 조회는 활성 트랜잭션이 있으면 그것을 주고 없으면 새로 연다. 그래서 검사가 먼저 돌지 않으면 예약이 혼자 커밋된다.</desc>
<rect x="0" y="0" width="880" height="196" fill="#ffffff"/>
<defs><marker id="ar" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0,0 L10,5 L0,10 z" fill="#374151"/></marker><pattern id="hx" width="7" height="7" patternUnits="userSpaceOnUse" patternTransform="rotate(45)"><line x1="0" y1="0" x2="0" y2="7" stroke="#9ca3af" stroke-width="2"/></pattern></defs>
<text x="28" y="40" font-family="system-ui,sans-serif" font-size="19" font-weight="600" fill="#111827">커넥션 조회보다 앞선 검사</text>
<rect x="28.0" y="104" width="225.3" height="58" rx="10" fill="#eef2ff" stroke="#374151" stroke-width="1.6"/>
<text x="140.7" y="138.0" text-anchor="middle" font-family="system-ui,sans-serif" font-size="13" fill="#111827">requireActiveTransaction</text>
<rect x="327.3" y="104" width="225.3" height="58" rx="10" fill="#eef2ff" stroke="#374151" stroke-width="1.6"/>
<text x="440" y="138.0" text-anchor="middle" font-family="system-ui,sans-serif" font-size="13" fill="#111827">DataSourceUtils.getConnection</text>
<rect x="626.7" y="104" width="225.3" height="58" rx="10" fill="#eef2ff" stroke="#374151" stroke-width="1.6"/>
<text x="739.3" y="138.0" text-anchor="middle" font-family="system-ui,sans-serif" font-size="13" fill="#111827">INSERT ON CONFLICT</text>
<line x1="259.3" y1="133" x2="321.3" y2="133" stroke="#374151" stroke-width="1.6" marker-end="url(#ar)"/>
<text x="290.3" y="92" text-anchor="middle" font-family="system-ui,sans-serif" font-size="13" fill="#6b7280">통과한 경우만</text>
<line x1="558.7" y1="133" x2="620.7" y2="133" stroke="#374151" stroke-width="1.6" marker-end="url(#ar)"/>
<text x="589.7" y="92" text-anchor="middle" font-family="system-ui,sans-serif" font-size="13" fill="#6b7280">트랜잭션에 묶인 커넥션</text>
</svg>