aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md22
1 files 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 ->
- <- <executes python code>
+ +-------------+ +------------+ +-----------+
+ | |---------->| |-------->| | >-------+
+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
+ +-------------------------------------------------------------------------
```