-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Hi, I came across this project recently and was quite intrigued. I looked through the code and it seems that currently, a docker container is created every time the user executes code. This is also done completely synchronously, blocking the entire thread.
It would probably be more scalable to spin up a fixed number of containers for each repository and run a network server on the container that will take requests, execute the command, and respond with the standard output. The downside is that this would require enabling the network in the container, but you could probably set up firewall rules in the container that block outbound connections.
I'm going to take a look at implementing this, but I'm currently having some difficulties getting the code to work on my computer.