Multi process vs Multi Thread | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Multi process vs Multi Thread

Hi I have an application using com components. What is criteria to choose between multi process and multi thread? Can someone define choosing criteria and performance between both i.e. multi process and multi thread?

4th Mar 2022, 5:56 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
1 Answer
+ 2
If your workers need to work on shared data then go for threads, else if the data is not shared between workers then you can use processes, by the way spawning threads is faster than creating processes.
4th Mar 2022, 8:38 PM
Z3ro