====== Python: parallel processing ====== * https://pythonhosted.org/joblib/ * https://medium.com/@bfortuner/python-multithreading-vs-multiprocessing-73072ce5600b AWS lambda * http://pywren.io/ ====== Multiprocessing ====== 자식 프로세스 다 죽이기 def killtree(pid, including_parent=True): parent = psutil.Process(pid) for child in parent.children(recursive=True): print "child", child child.kill() if including_parent: parent.kill() ## get the pid of this program pid=os.getpid() ## when you want to kill everything, including this program killtree(pid) * https://www.reddit.com/r/learnpython/comments/7vwyez/how_to_kill_child_processes_when_using/