Multiprocessing is more expensive because more instructions need to start a process. Switching between processes is more expensive too. It's reasonable to use multiprocessing when there is cpu computation involved. For io operations, threads are a better choice. As I am aware of all of this. Could be wrong.
How much multi-threading should be done?
How much multi-threading should be done?
|
|
Messages In This Thread |
How much multi-threading should be done? - by IAMK - Apr-17-2018, 12:00 PM
RE: How much multi-threading should be done? - by nilamo - Apr-17-2018, 04:13 PM
RE: How much multi-threading should be done? - by woooee - Apr-17-2018, 04:59 PM
RE: How much multi-threading should be done? - by IAMK - Apr-17-2018, 08:57 PM
RE: How much multi-threading should be done? - by wavic - Apr-17-2018, 09:30 PM
RE: How much multi-threading should be done? - by IAMK - Apr-17-2018, 10:00 PM
RE: How much multi-threading should be done? - by nilamo - Apr-18-2018, 03:51 AM
RE: How much multi-threading should be done? - by wavic - Apr-18-2018, 05:48 AM
|
Users browsing this thread: 1 Guest(s)