Python Forum
How much multi-threading should be done?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How much multi-threading should be done?
#5
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. Blush
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply


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 wavic - Apr-17-2018, 09:30 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020