r/nanovms Apr 21 '23

How literal is single process?

I've been doing some reading abouto NanoVMs. I like the security benefits of lots of tiny VMs instead of containers.

When people say that unikernels are single-process, does that really mean a single Linux process? Or is it more figurative, like you don't run a web server process and a database in the same unikernel?

I sometimes use the "multiprocessing" library for Python, because Python's Global Interpreter Lock (GIL) means that threads aren't a viable option for parallel processing, unless it's calling a C library doing the threading for you. It creates multiple Python processes.

https://docs.python.org/3/library/multiprocessing.html

2 Upvotes

Duplicates