You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-11
Original file line number
Diff line number
Diff line change
@@ -4,17 +4,9 @@
4
4
5
5
Have you ever wondered what happens behind the scenes when you hit "Run" on a code snippet in online development environments like [Go Playground](https://go.dev/play/) or [Repl.it](https://replit.com/)?
6
6
7
-
This demonstration provides a basic implementation using approximately 100 lines of code.
7
+
## Detailed instructions
8
8
9
-
The main considerations for building a service such as this are:
10
-
11
-
1.**Security**: Since we allow users to execute arbitrary code, we need a way to sandbox the execution to prevent malicious users from gaining unauthorized access to our servers.
12
-
13
-
2.**Limits**: We want to limit the resources allocated to the execution so that it does not tax our finite server resources.
14
-
15
-
3.**Scalability**: We need to be able to linearly scale this service as the number of users grows.
16
-
17
-
These considerations are addressed in this demonstration by utilizing [Tork](https://github.com/runabol/tork), a distributed workflow engine, to handle all the heavy lifting
0 commit comments