From 6ce1c8966d2d5ed4342ff59271c212a898c9ddfa Mon Sep 17 00:00:00 2001 From: Christopher Baklid Date: Mon, 28 May 2018 14:29:43 +0200 Subject: readme diagram --- README.md | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 90a0a6c..d1802b5 100644 --- a/README.md +++ b/README.md @@ -4,13 +4,21 @@ Python sandbox runners for executing code in isolation aka snekbox The user sends a piece of python code to a snekbox, the snekbox executes the code and sends the result back to the users. ``` -user -> - website -> - <- websocket -> - <- webserver -> - <- rabbitmq -> - <- snekbox -> - <- + +-------------+ +------------+ +-----------+ + | |---------->| |-------->| | >-------+ +input-> | WEBSERVER | websocket | RABBITMQ | AMQP | SNEKBOX | output | + | |<----------| |<--------| | <-------+ + +-------------+ +------------+ +-----------+ + ^ ^ ^ + | | |- Executes python code + | | |- Returns result + | | +----------------------- + | | + | |- Messaging queues opens on demand and closes automatically + | +----------------------------------------------------------- + | + |- Uses websockets for asynchronous connection between webui and webserver + +------------------------------------------------------------------------- ``` -- cgit v1.2.3