From 3c7457a964ace6bd6cd396e5076aeca6ab7651f6 Mon Sep 17 00:00:00 2001 From: Ngô Ngọc Đức Huy Date: Tue, 11 Apr 2023 16:49:52 +0700 Subject: Add new post about DICT server --- static/images/extra-arch.png | Bin 0 -> 39559 bytes static/images/extra-arch.uml | 28 ++++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 static/images/extra-arch.png create mode 100644 static/images/extra-arch.uml (limited to 'static') diff --git a/static/images/extra-arch.png b/static/images/extra-arch.png new file mode 100644 index 0000000..9c5c2fc Binary files /dev/null and b/static/images/extra-arch.png differ diff --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 -- cgit 1.4.1