Update Architecture B diagram and benchmark tooling

This commit is contained in:
Steffen committed 2026-11-24 15:56:03 +01:00
1 parent 6ea20b2365
commit 0b9865d51e
4 files changed
+224 -48

No files matched your search

@@ -1,77 +1,133 @@
<?xml version='1.0' encoding='utf-8'?>
<mxfile host="app.diagrams.net" type="device" compressed="false">
<mxfile host="Electron" compressed="false">
<diagram id="page1" name="Logical components — all in one application process">
<mxGraphModel dx="1500" dy="900" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1540" pageHeight="1280" math="0" shadow="0">
<mxGraphModel dx="4989" dy="2117" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1540" pageHeight="1280" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="title" value="Logical components — all in one application process" style="text;html=0;align=left;fontSize=24;fontStyle=1;" vertex="1" parent="1">
<mxGeometry as="geometry" x="60" y="25" width="1380" height="45" />
<mxCell id="title" parent="1" style="text;html=0;align=left;fontSize=24;fontStyle=1;" value="Logical components — all in one application process" vertex="1">
<mxGeometry height="45" width="1380" x="60" y="25" as="geometry" />
</mxCell>
<mxCell id="edge" value="API/access&#10;HTTPS endpoint adapters&#10;Login/token validation&#10;Actual-owner / assignment policies&#10;Public guidance exception" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1">
<mxGeometry as="geometry" x="80" y="120" width="340" height="225" />
<mxCell id="edge" parent="1" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" value="API/access&#xa;HTTPS endpoint adapters&#xa;Login/token validation&#xa;Actual-owner / assignment policies&#xa;Public guidance exception" vertex="1">
<mxGeometry height="225" width="340" x="-110" y="130" as="geometry" />
</mxCell>
<mxCell id="profile" value="Profile&#10;Initial profile + account association&#10;Create / find / update&#10;ProfileQueries / ProfileCommands" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1">
<mxGeometry as="geometry" x="540" y="120" width="340" height="225" />
<mxCell id="profile" parent="1" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" value="Profile&#xa;Initial profile + account association&#xa;Create / find / update&#xa;ProfileQueries / ProfileCommands" vertex="1">
<mxGeometry height="225" width="340" x="540" y="130" as="geometry" />
</mxCell>
<mxCell id="obs" value="Observations&#10;Record / specific / latest / history&#10;Atomic patch and delete&#10;ObservationQueries / Commands" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1000" y="120" width="340" height="225" />
<mxCell id="obs" parent="1" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" value="Observations&#xa;Record / specific / latest / history&#xa;Atomic patch and delete&#xa;ObservationQueries / Commands" vertex="1">
<mxGeometry height="225" width="340" x="1510" y="120" as="geometry" />
</mxCell>
<mxCell id="overview" value="Overview&#10;Compose profile + latest overall&#10;+ selected-period insight&#10;OverviewQueries; transient result" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1">
<mxGeometry as="geometry" x="80" y="440" width="340" height="225" />
<mxCell id="overview" parent="1" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" value="Overview&#xa;Compose profile + latest overall&#xa;+ selected-period insight&#xa;OverviewQueries; transient result" vertex="1">
<mxGeometry height="225" width="340" x="-110" y="460" as="geometry" />
</mxCell>
<mxCell id="analytics" value="Analytics&#10;SummaryPolicy / TrendPolicy&#10;ClinicalPolicy / comparability&#10;AnalyticsQueries; no result store" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1">
<mxGeometry as="geometry" x="540" y="440" width="340" height="225" />
<mxCell id="analytics" parent="1" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" value="Analytics&#xa;SummaryPolicy / TrendPolicy&#xa;ClinicalPolicy / comparability&#xa;AnalyticsQueries; no result store" vertex="1">
<mxGeometry height="225" width="340" x="540" y="460" as="geometry" />
</mxCell>
<mxCell id="guidance" value="Guidance&#10;Public ordered instructions&#10;Reviewed reference catalog&#10;Versioned applicability/provenance" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1000" y="440" width="340" height="225" />
<mxCell id="guidance" parent="1" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" value="Guidance&#xa;Public ordered instructions&#xa;Reviewed reference catalog&#xa;Versioned applicability/provenance" vertex="1">
<mxGeometry height="225" width="340" x="1510" y="440" as="geometry" />
</mxCell>
<mxCell id="infra" value="Infrastructure&#10;ReadSnapshot / WriteTransaction&#10;Private per-module DB adapters&#10;Bounded DB connection pool" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1">
<mxGeometry as="geometry" x="540" y="760" width="340" height="225" />
<mxCell id="infra" parent="1" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" value="Infrastructure&#xa;ReadSnapshot / WriteTransaction&#xa;Private per-module DB adapters&#xa;Bounded DB connection pool" vertex="1">
<mxGeometry height="225" width="340" x="1080" y="280" as="geometry" />
</mxCell>
<mxCell id="edge0" value="Authorized profile operations / association lookup" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="edge" target="profile">
<mxGeometry as="geometry" relative="1" />
<mxCell id="edge0" edge="1" parent="1" source="edge" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" target="profile" value="Authorized profile operations / association lookup">
<mxGeometry relative="1" y="-7" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="edge1" value="Authorized observation operations / actual owner" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="edge" target="obs">
<mxGeometry as="geometry" relative="1" />
<mxCell id="edge1" edge="1" parent="1" source="edge" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" target="obs" value="Authorized observation operations / actual owner">
<mxGeometry relative="1" x="-0.0322" as="geometry">
<Array as="points">
<mxPoint x="-70" y="100" />
<mxPoint x="1680" y="100" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="edge2" value="Authorized overview" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="edge" target="overview">
<mxGeometry as="geometry" relative="1" />
<mxCell id="edge2" edge="1" parent="1" source="edge" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" target="overview" value="Authorized overview">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="edge3" value="Authorized insight / trend" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="edge" target="analytics">
<mxGeometry as="geometry" relative="1" />
<mxCell id="edge3" edge="1" parent="1" source="edge" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" target="analytics" value="Authorized insight / trend">
<mxGeometry relative="1" x="-0.4374" as="geometry">
<Array as="points">
<mxPoint x="200" y="410" />
<mxPoint x="710" y="410" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="edge4" value="Public guidance" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="edge" target="guidance">
<mxGeometry as="geometry" relative="1" />
<mxCell id="edge4" edge="1" parent="1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" target="guidance" value="Public guidance">
<mxGeometry relative="1" x="0.0091" as="geometry">
<Array as="points">
<mxPoint x="-70" y="70" />
<mxPoint x="1490" y="70" />
<mxPoint x="1490" y="410" />
<mxPoint x="1680" y="410" />
</Array>
<mxPoint x="-70" y="150" as="sourcePoint" />
<mxPoint x="1680" y="460" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="edge5" value="Patient existence, typed query" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="obs" target="profile">
<mxGeometry as="geometry" relative="1" />
<mxCell id="edge5" edge="1" parent="1" source="obs" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" target="profile" value="Patient existence, typed query">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="1350" y="190" />
<mxPoint x="1350" y="190" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="edge6" value="Profile read, same snapshot" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="overview" target="profile">
<mxGeometry as="geometry" relative="1" />
<mxCell id="edge6" edge="1" parent="1" source="overview" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" target="profile" value="Profile read, same snapshot">
<mxGeometry relative="1" x="-0.2497" as="geometry">
<Array as="points">
<mxPoint x="60" y="780" />
<mxPoint x="1010" y="780" />
<mxPoint x="1010" y="242.5" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="edge7" value="Latest overall read" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="overview" target="obs">
<mxGeometry as="geometry" relative="1" />
<mxCell id="edge7" edge="1" parent="1" source="overview" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" target="obs" value="Latest overall read">
<mxGeometry relative="1" x="-0.1421" as="geometry">
<Array as="points">
<mxPoint x="60" y="860" />
<mxPoint x="1900" y="860" />
<mxPoint x="1900" y="232.5" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="edge8" value="Selected insight from current series" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="overview" target="analytics">
<mxGeometry as="geometry" relative="1" />
<mxCell id="edge8" edge="1" parent="1" source="overview" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" target="analytics" value="Selected insight from current series">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="edge9" value="Current selected immutable series" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="analytics" target="obs">
<mxGeometry as="geometry" relative="1" />
<mxCell id="edge9" edge="1" parent="1" source="analytics" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" target="obs" value="Current selected immutable series">
<mxGeometry relative="1" x="0.0448" as="geometry">
<Array as="points">
<mxPoint x="1460" y="640" />
<mxPoint x="1460" y="232.5" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="edge10" value="Claim-specific reference catalog" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="analytics" target="guidance">
<mxGeometry as="geometry" relative="1" />
<mxCell id="edge10" edge="1" parent="1" source="analytics" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" target="guidance" value="Claim-specific reference catalog">
<mxGeometry relative="1" x="-0.0335" as="geometry">
<Array as="points">
<mxPoint x="1195" y="572.5" />
<mxPoint x="1195" y="570" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="edge11" value="Own repository / transaction" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="profile" target="infra">
<mxGeometry as="geometry" relative="1" />
<mxCell id="edge11" edge="1" parent="1" source="profile" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" target="infra" value="Own repository / transaction">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="940" y="242.5" />
<mxPoint x="940" y="430" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="edge12" value="Own repository / transaction" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="obs" target="infra">
<mxGeometry as="geometry" relative="1" />
<mxCell id="edge12" edge="1" parent="1" source="obs" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" target="infra" value="Own repository / transaction">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="1310" y="232.5" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="note" value="Solid boxes are logical modules, not independently deployed processes. Dashed arrows are typed in-process dependencies, not network calls. All public operations pass API/access; no callback into routing. Overview uses private module interfaces and shared read snapshot, never another module’s SQL." style="rounded=0;whiteSpace=wrap;html=0;fillColor=#fff6df;strokeColor=#b28725;fontSize=13;align=left;spacing=12;" vertex="1" parent="1">
<mxGeometry as="geometry" x="60" y="1090" width="1380" height="115" />
<mxCell id="note" parent="1" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#fff6df;strokeColor=#b28725;fontSize=13;align=left;spacing=12;" value="Solid boxes are logical modules, not independently deployed processes. Dashed arrows are typed in-process dependencies, not network calls. All public operations pass API/access; no callback into routing. Overview uses private module interfaces and shared read snapshot, never another module’s SQL." vertex="1">
<mxGeometry height="115" width="1380" x="120" y="960" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>
</mxfile>