Added course's notes
This commit is contained in:
1 parent
e07993262c
commit
dcd2c072ae
191 files changed
+42866
-12
No files matched your search
@@ -0,0 +1,41 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 760 230" width="760" height="230"
|
||||
role="img" aria-labelledby="dc-title">
|
||||
<title id="dc-title">{{alt}}</title>
|
||||
<style><!--CSS--></style>
|
||||
|
||||
<defs>
|
||||
<marker id="a" viewBox="0 0 10 10" refX="9" refY="5"
|
||||
markerWidth="6.5" markerHeight="6.5" orient="auto-start-reverse">
|
||||
<path class="arrow" d="M0,0 L10,5 L0,10 z"/>
|
||||
</marker>
|
||||
</defs>
|
||||
|
||||
<!-- everything happens inside one main(), on one thread -->
|
||||
<rect class="box-plain" x="14" y="16" width="732" height="126" rx="4"/>
|
||||
<text class="t-mut" data-label="frame" x="26" y="36">{{frame}}</text>
|
||||
|
||||
<g class="node" data-flow-node="read">
|
||||
<rect class="box" x="40" y="58" width="170" height="52" rx="3"/>
|
||||
<text class="t-mono mid" data-label="read" x="125" y="90">{{read}}</text>
|
||||
</g>
|
||||
|
||||
<path class="edge" data-flow="1" data-flow-to="rot" d="M210,84 H298" marker-end="url(#a)"/>
|
||||
<text class="t-accent mid" data-label="call1" x="254" y="72">{{call1}}</text>
|
||||
|
||||
<g class="node" data-flow-node="rot">
|
||||
<rect class="box" x="300" y="58" width="170" height="52" rx="3"/>
|
||||
<text class="t-mono mid" data-label="rot" x="385" y="90">{{rot}}</text>
|
||||
</g>
|
||||
|
||||
<path class="edge" data-flow="2" data-flow-to="print" d="M470,84 H558" marker-end="url(#a)"/>
|
||||
<text class="t-accent mid" data-label="call2" x="514" y="72">{{call2}}</text>
|
||||
|
||||
<g class="node" data-flow-node="print">
|
||||
<rect class="box" x="560" y="58" width="170" height="52" rx="3"/>
|
||||
<text class="t-mono mid" data-label="print" x="645" y="90">{{print}}</text>
|
||||
</g>
|
||||
|
||||
<!-- who knows whom -->
|
||||
<text class="t-sm" data-label="knows" x="14" y="176">{{knows}}</text>
|
||||
<text class="t-mut" data-label="cost" x="14" y="202">{{cost}}</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.7 KiB |
@@ -0,0 +1,96 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 620 700" width="620" height="700"
|
||||
role="img" aria-labelledby="fp-title">
|
||||
<title id="fp-title">{{alt}}</title>
|
||||
<style><!--CSS--></style>
|
||||
|
||||
<defs>
|
||||
<marker id="a" viewBox="0 0 10 10" refX="9" refY="5"
|
||||
markerWidth="6.5" markerHeight="6.5" orient="auto-start-reverse">
|
||||
<path class="arrow" d="M0,0 L10,5 L0,10 z"/>
|
||||
</marker>
|
||||
</defs>
|
||||
|
||||
<!-- 1. SensorService (terminal 1) ==================================== -->
|
||||
<g class="node" data-flow-node="sensor">
|
||||
<rect class="box" x="120" y="24" width="300" height="46" rx="3"/>
|
||||
<text class="t-lead mid" data-label="sensor" x="270" y="46">{{sensor}}</text>
|
||||
<text class="t-mut mid" data-label="t1" x="270" y="62">{{t1}}</text>
|
||||
</g>
|
||||
<path class="edge" data-flow="1" data-flow-to="outbox1" d="M270,70 V96" marker-end="url(#a)"/>
|
||||
<text class="t-accent" data-label="publish1" x="286" y="88">{{publish1}}</text>
|
||||
|
||||
<!-- 2. consoleIn/outbox ============================================= -->
|
||||
<g class="node" data-flow-node="outbox1">
|
||||
<rect class="box-plain" x="120" y="98" width="300" height="44" rx="3"/>
|
||||
<text class="t-mono mid" x="270" y="126">consoleIn/outbox/*.msg</text>
|
||||
</g>
|
||||
<path class="edge" data-flow="2" data-flow-to="mediator1" d="M270,142 V168" marker-end="url(#a)"/>
|
||||
<text class="t-accent" data-label="watch1" x="286" y="160">{{watch1}}</text>
|
||||
|
||||
<!-- 3. first mediator process (terminal 2) =========================== -->
|
||||
<g class="node" data-flow-node="mediator1">
|
||||
<rect class="box-accent" x="120" y="170" width="300" height="46" rx="3"/>
|
||||
<text class="t-lead mid" data-label="mediator1" x="270" y="192">{{mediator1}}</text>
|
||||
<text class="t-mut mid" data-label="t2" x="270" y="208">{{t2}}</text>
|
||||
</g>
|
||||
<path class="edge" data-flow="3" data-flow-to="inbox2" d="M270,216 V242" marker-end="url(#a)"/>
|
||||
<text class="t-accent" data-label="publish2" x="286" y="234">{{publish2}}</text>
|
||||
|
||||
<!-- 4. rot13/inbox =================================================== -->
|
||||
<g class="node" data-flow-node="inbox2">
|
||||
<rect class="box-plain" x="120" y="244" width="300" height="44" rx="3"/>
|
||||
<text class="t-mono mid" x="270" y="272">rot13/inbox/*.msg</text>
|
||||
</g>
|
||||
<path class="edge" data-flow="4" data-flow-to="processor" d="M270,288 V314" marker-end="url(#a)"/>
|
||||
<text class="t-accent" data-label="watch2" x="286" y="306">{{watch2}}</text>
|
||||
|
||||
<!-- 5. ProcessorService (terminal 3) ================================= -->
|
||||
<g class="node" data-flow-node="processor">
|
||||
<rect class="box" x="120" y="316" width="300" height="46" rx="3"/>
|
||||
<text class="t-lead mid" data-label="processor" x="270" y="338">{{processor}}</text>
|
||||
<text class="t-mut mid" data-label="t3" x="270" y="354">{{t3}}</text>
|
||||
</g>
|
||||
<path class="edge" data-flow="5" data-flow-to="outbox2" d="M270,362 V388" marker-end="url(#a)"/>
|
||||
<text class="t-accent" data-label="publish3" x="286" y="380">{{publish3}}</text>
|
||||
|
||||
<!-- 6. rot13/outbox ================================================== -->
|
||||
<g class="node" data-flow-node="outbox2">
|
||||
<rect class="box-plain" x="120" y="390" width="300" height="44" rx="3"/>
|
||||
<text class="t-mono mid" x="270" y="418">rot13/outbox/*.msg</text>
|
||||
</g>
|
||||
<path class="edge" data-flow="6" data-flow-to="mediator2" d="M270,434 V460" marker-end="url(#a)"/>
|
||||
<text class="t-accent" data-label="watch3" x="286" y="452">{{watch3}}</text>
|
||||
|
||||
<!-- 7. second mediator process (terminal 4) ========================== -->
|
||||
<g class="node" data-flow-node="mediator2">
|
||||
<rect class="box-accent" x="120" y="462" width="300" height="46" rx="3"/>
|
||||
<text class="t-lead mid" data-label="mediator2" x="270" y="484">{{mediator2}}</text>
|
||||
<text class="t-mut mid" data-label="t4" x="270" y="500">{{t4}}</text>
|
||||
</g>
|
||||
<path class="edge" data-flow="7" data-flow-to="inbox3" d="M270,508 V534" marker-end="url(#a)"/>
|
||||
<text class="t-accent" data-label="publish4" x="286" y="526">{{publish4}}</text>
|
||||
|
||||
<!-- 8. consoleOut/inbox ============================================== -->
|
||||
<g class="node" data-flow-node="inbox3">
|
||||
<rect class="box-plain" x="120" y="536" width="300" height="44" rx="3"/>
|
||||
<text class="t-mono mid" x="270" y="564">consoleOut/inbox/*.msg</text>
|
||||
</g>
|
||||
<path class="edge" data-flow="8" data-flow-to="actuator" d="M270,580 V606" marker-end="url(#a)"/>
|
||||
<text class="t-accent" data-label="watch4" x="286" y="598">{{watch4}}</text>
|
||||
|
||||
<!-- 9. ActuatorService (terminal 5) ================================== -->
|
||||
<g class="node" data-flow-node="actuator">
|
||||
<rect class="box" x="120" y="608" width="300" height="46" rx="3"/>
|
||||
<text class="t-lead mid" data-label="actuator" x="270" y="630">{{actuator}}</text>
|
||||
<text class="t-mut mid" data-label="t5" x="270" y="646">{{t5}}</text>
|
||||
</g>
|
||||
|
||||
<!-- the four directories belong to one message board on one filesystem -->
|
||||
<path class="edge-dash" d="M436,98 H452 V580 H436"/>
|
||||
<text class="t-mono" x="460" y="330">messageBoard/</text>
|
||||
<text class="t-mut" data-label="board" x="460" y="348">{{board}}</text>
|
||||
|
||||
<!-- the five processes are started by hand, one terminal each -->
|
||||
<path class="edge-dash" d="M104,24 H88 V654 H104"/>
|
||||
<text class="t-warn" data-label="topology" x="14" y="686">{{topology}}</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.2 KiB |
@@ -0,0 +1,91 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 560 700" width="560" height="700"
|
||||
role="img" aria-labelledby="mj-title">
|
||||
<title id="mj-title">{{alt}}</title>
|
||||
<style><!--CSS--></style>
|
||||
|
||||
<defs>
|
||||
<marker id="a" viewBox="0 0 10 10" refX="9" refY="5"
|
||||
markerWidth="6.5" markerHeight="6.5" orient="auto-start-reverse">
|
||||
<path class="arrow" d="M0,0 L10,5 L0,10 z"/>
|
||||
</marker>
|
||||
</defs>
|
||||
|
||||
<!-- one JVM, five virtual threads: the frame the whole chain lives in -->
|
||||
<rect class="box-plain" x="10" y="10" width="540" height="676" rx="4"/>
|
||||
<text class="t-mut" data-label="frame" x="22" y="30">{{frame}}</text>
|
||||
|
||||
<!-- 1. ConsoleIn ==================================================== -->
|
||||
<g class="node" data-flow-node="consolein">
|
||||
<rect class="box" x="120" y="44" width="300" height="44" rx="3"/>
|
||||
<text class="t-lead mid" data-label="consolein" x="270" y="72">{{consolein}}</text>
|
||||
</g>
|
||||
<path class="edge" data-flow="1" data-flow-to="outbox1" d="M270,88 V114" marker-end="url(#a)"/>
|
||||
<text class="t-accent" data-label="put1" x="286" y="106">{{put1}}</text>
|
||||
|
||||
<!-- 2. consoleIn.outbox ============================================= -->
|
||||
<g class="node" data-flow-node="outbox1">
|
||||
<rect class="box-plain" x="120" y="116" width="300" height="44" rx="3"/>
|
||||
<text class="t-mono mid" x="270" y="144">consoleIn.outbox</text>
|
||||
</g>
|
||||
<path class="edge" data-flow="2" data-flow-to="mediator1" d="M270,160 V186" marker-end="url(#a)"/>
|
||||
<text class="t-accent" data-label="take1" x="286" y="178">{{take1}}</text>
|
||||
|
||||
<!-- 3. first mediator =============================================== -->
|
||||
<g class="node" data-flow-node="mediator1">
|
||||
<rect class="box-accent" x="120" y="188" width="300" height="44" rx="3"/>
|
||||
<text class="t-lead mid" data-label="mediator1" x="270" y="211">{{mediator1}}</text>
|
||||
<text class="t-mut mid" data-label="route1" x="270" y="226">{{route1}}</text>
|
||||
</g>
|
||||
<path class="edge" data-flow="3" data-flow-to="inbox2" d="M270,232 V258" marker-end="url(#a)"/>
|
||||
<text class="t-accent" data-label="put2" x="286" y="250">{{put2}}</text>
|
||||
|
||||
<!-- 4. rot13.inbox =================================================== -->
|
||||
<g class="node" data-flow-node="inbox2">
|
||||
<rect class="box-plain" x="120" y="260" width="300" height="44" rx="3"/>
|
||||
<text class="t-mono mid" x="270" y="288">rot13.inbox</text>
|
||||
</g>
|
||||
<path class="edge" data-flow="4" data-flow-to="rot13" d="M270,304 V330" marker-end="url(#a)"/>
|
||||
<text class="t-accent" data-label="take2" x="286" y="322">{{take2}}</text>
|
||||
|
||||
<!-- 5. ROT13 ========================================================= -->
|
||||
<g class="node" data-flow-node="rot13">
|
||||
<rect class="box" x="120" y="332" width="300" height="44" rx="3"/>
|
||||
<text class="t-lead mid" data-label="rot13" x="270" y="360">{{rot13}}</text>
|
||||
</g>
|
||||
<path class="edge" data-flow="5" data-flow-to="outbox2" d="M270,376 V402" marker-end="url(#a)"/>
|
||||
<text class="t-accent" data-label="put3" x="286" y="394">{{put3}}</text>
|
||||
|
||||
<!-- 6. rot13.outbox ================================================== -->
|
||||
<g class="node" data-flow-node="outbox2">
|
||||
<rect class="box-plain" x="120" y="404" width="300" height="44" rx="3"/>
|
||||
<text class="t-mono mid" x="270" y="432">rot13.outbox</text>
|
||||
</g>
|
||||
<path class="edge" data-flow="6" data-flow-to="mediator2" d="M270,448 V474" marker-end="url(#a)"/>
|
||||
<text class="t-accent" data-label="take3" x="286" y="466">{{take3}}</text>
|
||||
|
||||
<!-- 7. second mediator =============================================== -->
|
||||
<g class="node" data-flow-node="mediator2">
|
||||
<rect class="box-accent" x="120" y="476" width="300" height="44" rx="3"/>
|
||||
<text class="t-lead mid" data-label="mediator2" x="270" y="499">{{mediator2}}</text>
|
||||
<text class="t-mut mid" data-label="route2" x="270" y="514">{{route2}}</text>
|
||||
</g>
|
||||
<path class="edge" data-flow="7" data-flow-to="inbox3" d="M270,520 V546" marker-end="url(#a)"/>
|
||||
<text class="t-accent" data-label="put4" x="286" y="538">{{put4}}</text>
|
||||
|
||||
<!-- 8. consoleOut.inbox ============================================== -->
|
||||
<g class="node" data-flow-node="inbox3">
|
||||
<rect class="box-plain" x="120" y="548" width="300" height="44" rx="3"/>
|
||||
<text class="t-mono mid" x="270" y="576">consoleOut.inbox</text>
|
||||
</g>
|
||||
<path class="edge" data-flow="8" data-flow-to="consoleout" d="M270,592 V618" marker-end="url(#a)"/>
|
||||
<text class="t-accent" data-label="take4" x="286" y="610">{{take4}}</text>
|
||||
|
||||
<!-- 9. ConsoleOut ==================================================== -->
|
||||
<g class="node" data-flow-node="consoleout">
|
||||
<rect class="box" x="120" y="620" width="300" height="44" rx="3"/>
|
||||
<text class="t-lead mid" data-label="consoleout" x="270" y="648">{{consoleout}}</text>
|
||||
</g>
|
||||
|
||||
<!-- side note: who holds the topology -->
|
||||
<text class="t-warn" data-label="topology" x="22" y="672">{{topology}}</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.8 KiB |
Reference in new issue
Block a user