Answer the question
In order to leave comments, you need to log in
How to make safe execution of user code (lambda, function as a service)?
Different users store data on the server. I also want to give users the opportunity to manage their own data a little according to their own logic. (for example: when uploading a new file or every N minutes, call a user script that, for example, will count the number of files and the total size and write it to some other file).
What programming language does not matter.
The main requirement is that it must be safe, including:
Answer the question
In order to leave comments, you need to log in
The most important thing is to take money from people and keep logs.
As for docker - purely technically, docker imposes some small brakes on the network (in a certain mode, when it proxies the port of the machine to the port in the container) and on the file system (when the container works not with a volume, but with an overlay).
There is no overhead for calculations.
Docker is not virtualization, it's just a neat setup of network namespaces and cgroups. Where do you see zhor resources? Of course, if this is done through kubernetis, which drags about two gigs of its junk, it will be a resource hog.
All the ideas you sketched out are just being implemented with the help of picking in cgroup and network namespaces, so what's the point of repeating docker with your own hands?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question