Is there any documentation or best practices on managing processes, multiprocessing, subprocesses, threading, etc. with Python in Balena apps and services?
I am managing a complicated app with multiple containers running. I’ve tested different type of multiprocessing and threading using python and I’ve seen many instances will processes will continue on after a container is killed. I am just looking for some deeper information on best practices for managing multiple python processes inside of docker/balenaOS containers or tools that might be available to make this easier and cleaner.