diff options
-rw-r--r-- | README.md | 22 |
1 files changed, 15 insertions, 7 deletions
@@ -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 + +------------------------------------------------------------------------- ``` |