update diagram

This commit is contained in:
Evgeny Poberezkin 2020-10-22 13:57:45 +01:00
parent 35f83b604a
commit 6005bdc053
2 changed files with 29 additions and 30 deletions

View File

@ -6,7 +6,7 @@ digraph SMPServer {
subgraph clusterPersistence {
label="persistence (STM)"
msgQueues [shape=cylinder label="Message\nqueues"]
queueStore [shape=cylinder label="SMP connections\n(aka SMP queues)"]
queueStore [shape=cylinder label="SMP queue\nrecords"]
}
subgraph clusterServer {
@ -49,7 +49,7 @@ digraph SMPServer {
msgQueues -> subscriber [label="Message" color=green fontcolor=green]
subscriber -> outq [label="MSG" color=blue fontcolor=blue constraint=false]
client -> queueStore [dir=both]
client -> subscriber [style=dashed label="1 fork per\nSMP queue/\nconnection" color=orange]
client -> subscriber [style=dashed label="1 fork per\nSMP queue" color=orange]
client -> msgQueues [dir="both" label="SEND,\nSUB,\nACK" color=green]
client -> outq -> send -> cs [color=blue]
client -> subscribedQ [label="(rId, Client)"]

View File

@ -4,15 +4,15 @@
<!-- Generated by graphviz version 2.40.1 (20161225.0304)
-->
<!-- Title: SMPServer Pages: 1 -->
<svg width="889pt" height="677pt"
viewBox="0.00 0.00 889.00 677.40" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<svg width="855pt" height="677pt"
viewBox="0.00 0.00 855.00 677.40" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 673.3999)">
<title>SMPServer</title>
<polygon fill="#ffffff" stroke="transparent" points="-4,4 -4,-673.3999 885,-673.3999 885,4 -4,4"/>
<polygon fill="#ffffff" stroke="transparent" points="-4,4 -4,-673.3999 851,-673.3999 851,4 -4,4"/>
<g id="clust1" class="cluster">
<title>clusterPersistence</title>
<polygon fill="none" stroke="#000000" points="671,-112.175 671,-200.275 873,-200.275 873,-112.175 671,-112.175"/>
<text text-anchor="middle" x="772" y="-183.675" font-family="arial" font-size="14.00" fill="#000000">persistence (STM)</text>
<polygon fill="none" stroke="#000000" points="671,-112.175 671,-200.275 839,-200.275 839,-112.175 671,-112.175"/>
<text text-anchor="middle" x="755" y="-183.675" font-family="arial" font-size="14.00" fill="#000000">persistence (STM)</text>
</g>
<g id="clust2" class="cluster">
<title>clusterServer</title>
@ -35,10 +35,10 @@
<!-- msgQueues -->
<g id="node1" class="node">
<title>msgQueues</title>
<path fill="none" stroke="#000000" d="M865.1227,-163.2985C865.1227,-165.6863 851.6212,-167.6259 835,-167.6259 818.3788,-167.6259 804.8773,-165.6863 804.8773,-163.2985 804.8773,-163.2985 804.8773,-124.3515 804.8773,-124.3515 804.8773,-121.9636 818.3788,-120.024 835,-120.024 851.6212,-120.024 865.1227,-121.9636 865.1227,-124.3515 865.1227,-124.3515 865.1227,-163.2985 865.1227,-163.2985"/>
<path fill="none" stroke="#000000" d="M865.1227,-163.2985C865.1227,-160.9107 851.6212,-158.971 835,-158.971 818.3788,-158.971 804.8773,-160.9107 804.8773,-163.2985"/>
<text text-anchor="middle" x="835" y="-147.125" font-family="arial" font-size="11.00" fill="#000000">Message</text>
<text text-anchor="middle" x="835" y="-133.925" font-family="arial" font-size="11.00" fill="#000000">queues</text>
<path fill="none" stroke="#000000" d="M831.1227,-163.2985C831.1227,-165.6863 817.6212,-167.6259 801,-167.6259 784.3788,-167.6259 770.8773,-165.6863 770.8773,-163.2985 770.8773,-163.2985 770.8773,-124.3515 770.8773,-124.3515 770.8773,-121.9636 784.3788,-120.024 801,-120.024 817.6212,-120.024 831.1227,-121.9636 831.1227,-124.3515 831.1227,-124.3515 831.1227,-163.2985 831.1227,-163.2985"/>
<path fill="none" stroke="#000000" d="M831.1227,-163.2985C831.1227,-160.9107 817.6212,-158.971 801,-158.971 784.3788,-158.971 770.8773,-160.9107 770.8773,-163.2985"/>
<text text-anchor="middle" x="801" y="-147.125" font-family="arial" font-size="11.00" fill="#000000">Message</text>
<text text-anchor="middle" x="801" y="-133.925" font-family="arial" font-size="11.00" fill="#000000">queues</text>
</g>
<!-- subscriber -->
<g id="node13" class="node">
@ -50,17 +50,17 @@
<!-- msgQueues&#45;&gt;subscriber -->
<g id="edge13" class="edge">
<title>msgQueues&#45;&gt;subscriber</title>
<path fill="none" stroke="#00ff00" d="M809.4578,-121.0579C805.1388,-117.8164 800.5691,-114.7238 796,-112.175 751.158,-87.1607 695.4707,-68.8273 655.1006,-57.527"/>
<polygon fill="#00ff00" stroke="#00ff00" points="645.4418,-54.8755 656.2763,-53.1834 650.2634,-56.1991 655.085,-57.5228 655.085,-57.5228 655.085,-57.5228 650.2634,-56.1991 653.8937,-61.8623 645.4418,-54.8755 645.4418,-54.8755"/>
<text text-anchor="middle" x="796.2825" y="-93.175" font-family="arial" font-size="10.00" fill="#00ff00">Message</text>
<path fill="none" stroke="#00ff00" d="M775.3099,-121.3134C771.01,-118.0388 766.485,-114.869 762,-112.175 727.1066,-91.2154 684.5821,-73.5284 652.0009,-61.4383"/>
<polygon fill="#00ff00" stroke="#00ff00" points="642.2282,-57.8684 653.1652,-57.0728 646.9247,-59.584 651.6211,-61.2996 651.6211,-61.2996 651.6211,-61.2996 646.9247,-59.584 650.0771,-65.5264 642.2282,-57.8684 642.2282,-57.8684"/>
<text text-anchor="middle" x="761.2825" y="-93.175" font-family="arial" font-size="10.00" fill="#00ff00">Message</text>
</g>
<!-- queueStore -->
<g id="node2" class="node">
<title>queueStore</title>
<path fill="none" stroke="#000000" d="M786.5756,-163.2985C786.5756,-165.6863 762.5622,-167.6259 733,-167.6259 703.4378,-167.6259 679.4244,-165.6863 679.4244,-163.2985 679.4244,-163.2985 679.4244,-124.3515 679.4244,-124.3515 679.4244,-121.9636 703.4378,-120.024 733,-120.024 762.5622,-120.024 786.5756,-121.9636 786.5756,-124.3515 786.5756,-124.3515 786.5756,-163.2985 786.5756,-163.2985"/>
<path fill="none" stroke="#000000" d="M786.5756,-163.2985C786.5756,-160.9107 762.5622,-158.971 733,-158.971 703.4378,-158.971 679.4244,-160.9107 679.4244,-163.2985"/>
<text text-anchor="middle" x="733" y="-147.125" font-family="arial" font-size="11.00" fill="#000000">SMP connections</text>
<text text-anchor="middle" x="733" y="-133.925" font-family="arial" font-size="11.00" fill="#000000">(aka SMP queues)</text>
<path fill="none" stroke="#000000" d="M752.9666,-163.2985C752.9666,-165.6863 736.3976,-167.6259 716,-167.6259 695.6024,-167.6259 679.0334,-165.6863 679.0334,-163.2985 679.0334,-163.2985 679.0334,-124.3515 679.0334,-124.3515 679.0334,-121.9636 695.6024,-120.024 716,-120.024 736.3976,-120.024 752.9666,-121.9636 752.9666,-124.3515 752.9666,-124.3515 752.9666,-163.2985 752.9666,-163.2985"/>
<path fill="none" stroke="#000000" d="M752.9666,-163.2985C752.9666,-160.9107 736.3976,-158.971 716,-158.971 695.6024,-158.971 679.0334,-160.9107 679.0334,-163.2985"/>
<text text-anchor="middle" x="716" y="-147.125" font-family="arial" font-size="11.00" fill="#000000">SMP queue</text>
<text text-anchor="middle" x="716" y="-133.925" font-family="arial" font-size="11.00" fill="#000000">records</text>
</g>
<!-- main -->
<g id="node3" class="node">
@ -206,19 +206,19 @@
<!-- client&#45;&gt;msgQueues -->
<g id="edge17" class="edge">
<title>client&#45;&gt;msgQueues</title>
<path fill="none" stroke="#00ff00" d="M617.701,-280.6354C665.4816,-268.2963 742.3767,-243.2719 796,-200.275 804.2245,-193.6803 811.4235,-184.8988 817.323,-176.2307"/>
<polygon fill="#00ff00" stroke="#00ff00" points="607.9659,-283.0778 616.5702,-276.2795 612.8156,-281.861 617.6653,-280.6443 617.6653,-280.6443 617.6653,-280.6443 612.8156,-281.861 618.7604,-285.009 607.9659,-283.0778 607.9659,-283.0778"/>
<polygon fill="#00ff00" stroke="#00ff00" points="822.7793,-167.6855 821.1903,-178.5357 820.0884,-171.8997 817.3976,-176.1139 817.3976,-176.1139 817.3976,-176.1139 820.0884,-171.8997 813.6048,-173.6921 822.7793,-167.6855 822.7793,-167.6855"/>
<text text-anchor="middle" x="795.2775" y="-235.275" font-family="arial" font-size="10.00" fill="#000000">SEND,</text>
<text text-anchor="middle" x="795.2775" y="-223.275" font-family="arial" font-size="10.00" fill="#000000">SUB,</text>
<text text-anchor="middle" x="795.2775" y="-211.275" font-family="arial" font-size="10.00" fill="#000000">ACK</text>
<path fill="none" stroke="#00ff00" d="M615.7447,-277.4263C656.3868,-263.3055 718.2574,-237.6106 762,-200.275 769.9504,-193.4891 777.0327,-184.7227 782.9078,-176.1309"/>
<polygon fill="#00ff00" stroke="#00ff00" points="606.1466,-280.6832 614.1703,-273.2085 610.8815,-279.0765 615.6163,-277.4699 615.6163,-277.4699 615.6163,-277.4699 610.8815,-279.0765 617.0623,-281.7312 606.1466,-280.6832 606.1466,-280.6832"/>
<polygon fill="#00ff00" stroke="#00ff00" points="788.3681,-167.6771 786.7225,-178.5188 785.6553,-171.8771 782.9424,-176.0772 782.9424,-176.0772 782.9424,-176.0772 785.6553,-171.8771 779.1624,-173.6357 788.3681,-167.6771 788.3681,-167.6771"/>
<text text-anchor="middle" x="763.2775" y="-235.275" font-family="arial" font-size="10.00" fill="#000000">SEND,</text>
<text text-anchor="middle" x="763.2775" y="-223.275" font-family="arial" font-size="10.00" fill="#000000">SUB,</text>
<text text-anchor="middle" x="763.2775" y="-211.275" font-family="arial" font-size="10.00" fill="#000000">ACK</text>
</g>
<!-- client&#45;&gt;queueStore -->
<g id="edge15" class="edge">
<title>client&#45;&gt;queueStore</title>
<path fill="none" stroke="#000000" d="M611.1856,-270.3053C623.478,-262.8849 636.8509,-253.9117 648,-244.275 671.5454,-223.9234 694.102,-196.7862 710.0546,-175.8486"/>
<polygon fill="#000000" stroke="#000000" points="602.4731,-275.4213 608.8177,-266.4772 606.7847,-272.8895 611.0964,-270.3577 611.0964,-270.3577 611.0964,-270.3577 606.7847,-272.8895 613.375,-274.2381 602.4731,-275.4213 602.4731,-275.4213"/>
<polygon fill="#000000" stroke="#000000" points="716.2575,-167.5813 713.8554,-178.2809 713.2567,-171.5808 710.2559,-175.5802 710.2559,-175.5802 710.2559,-175.5802 713.2567,-171.5808 706.6565,-172.8795 716.2575,-167.5813 716.2575,-167.5813"/>
<path fill="none" stroke="#000000" d="M609.8863,-268.3247C620.1282,-261.2548 630.9539,-252.9826 640,-244.275 661.2301,-223.8393 681.1673,-197.0861 695.2906,-176.3279"/>
<polygon fill="#000000" stroke="#000000" points="601.4722,-273.9638 607.2738,-264.6583 605.6257,-271.1801 609.7791,-268.3964 609.7791,-268.3964 609.7791,-268.3964 605.6257,-271.1801 612.2844,-272.1346 601.4722,-273.9638 601.4722,-273.9638"/>
<polygon fill="#000000" stroke="#000000" points="700.9743,-167.8345 699.1526,-178.648 698.1935,-171.9899 695.4127,-176.1453 695.4127,-176.1453 695.4127,-176.1453 698.1935,-171.9899 691.6729,-173.6426 700.9743,-167.8345 700.9743,-167.8345"/>
</g>
<!-- client&#45;&gt;subscribedQ -->
<g id="edge21" class="edge">
@ -232,9 +232,8 @@
<title>client&#45;&gt;subscriber</title>
<path fill="none" stroke="#ffa500" stroke-dasharray="5,2" d="M577.0972,-262.1116C581.9467,-217.8786 591.3402,-132.1977 596.796,-82.4333"/>
<polygon fill="#ffa500" stroke="#ffa500" points="597.8974,-72.3872 601.2807,-82.818 597.3525,-77.3574 596.8075,-82.3276 596.8075,-82.3276 596.8075,-82.3276 597.3525,-77.3574 592.3343,-81.8371 597.8974,-72.3872 597.8974,-72.3872"/>
<text text-anchor="middle" x="620.51" y="-152.825" font-family="arial" font-size="10.00" fill="#000000">1 fork per</text>
<text text-anchor="middle" x="620.51" y="-140.825" font-family="arial" font-size="10.00" fill="#000000">SMP queue/</text>
<text text-anchor="middle" x="620.51" y="-128.825" font-family="arial" font-size="10.00" fill="#000000">connection</text>
<text text-anchor="middle" x="619.1205" y="-146.825" font-family="arial" font-size="10.00" fill="#000000">1 fork per</text>
<text text-anchor="middle" x="619.1205" y="-134.825" font-family="arial" font-size="10.00" fill="#000000">SMP queue</text>
</g>
<!-- outq -->
<g id="node14" class="node">

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB