diff --git a/ThesTeX/content/3-solution.tex b/ThesTeX/content/3-solution.tex index 8d18651..d2c4765 100644 --- a/ThesTeX/content/3-solution.tex +++ b/ThesTeX/content/3-solution.tex @@ -56,3 +56,4 @@ Game independance: \item allow load distribution \end{itemize} \image{\textwidth}{map-reduce.pdf}{Data flows}{img:flow} +\image{\textwidth}{architecture.pdf}{archoitecure overview}{img:arch} diff --git a/ThesTeX/images/architecture.dot b/ThesTeX/images/architecture.dot new file mode 100644 index 0000000..98b394a --- /dev/null +++ b/ThesTeX/images/architecture.dot @@ -0,0 +1,26 @@ +graph{ +//rankdir="LR"; +{ + rank=same; +s [label="Web-App\nFlask"]; +c [label="Worker\nCelery"]; +} +db [label="DB\nRedis"]; +t [label="HTTP frontend\nTraefik"]; +n [label="Static file server\nNginx"]; +/*{ + rank=same; + b [label="Biogames"]; + g [label="Geogames server"]; +};*/ + +s -- db [label="Internal network"]; +c -- db []; +t -- s [label=" External network,\nlabel"]; +t -- n []; +c -- n [label="Shared volume "]; +/*s -- b [style="dotted"]; +c -- b [style="dotted"]; +s -- g [style="dotted"]; +c -- g [style="dotted"];*/ +} \ No newline at end of file