about summary refs log tree commit diff
path: root/static
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2023-04-11 16:49:52 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2023-04-11 16:49:52 +0700
commit3c7457a964ace6bd6cd396e5076aeca6ab7651f6 (patch)
tree194850537f3d777385d5b0a0b31c8678f7ce11d8 /static
parenta2e63360143c48a49271756e85a105fd8204067e (diff)
downloadblog-3c7457a964ace6bd6cd396e5076aeca6ab7651f6.tar.gz
Add new post about DICT server
Diffstat (limited to 'static')
-rw-r--r--static/images/extra-arch.pngbin0 -> 39559 bytes
-rw-r--r--static/images/extra-arch.uml28
2 files changed, 28 insertions, 0 deletions
diff --git a/static/images/extra-arch.png b/static/images/extra-arch.png
new file mode 100644
index 0000000..9c5c2fc
--- /dev/null
+++ b/static/images/extra-arch.png
Binary files differdiff --git a/static/images/extra-arch.uml b/static/images/extra-arch.uml
new file mode 100644
index 0000000..7d86dff
--- /dev/null
+++ b/static/images/extra-arch.uml
@@ -0,0 +1,28 @@
+@startuml
+actor client
+node "Application Supervisor" as sup
+node Task.Supervisor as task
+node "ExTra.Server" as server
+node "loop_acceptor" as accept1
+node "loop_acceptor" as accept2
+component "ExTra.Command" as cmd
+node "ExTra.Dict" as dict
+collections "dictionaries" as dicts
+cloud "network"
+
+sup -right-> task
+sup -up--> dict
+sup -down--> server
+
+server <-down- network : "listen for new connections"
+server .right.> accept2 : "spawn new loop after first acceptor is occupied"
+
+task -> accept1
+task -> accept2
+
+dict <-up- dicts : "reads"
+
+client -up--> accept1 : "send command"
+accept1 -up-> cmd : "parse command"
+cmd <-up-> dict : "execute command"
+@enduml