by macemoneta · 16y ago · 0 comments
My current quad core is running about 550 processes at near-idle. Their workload is distributed across cores with no effort. Most Apache implementations use multiple processes for the workers, as an example.
The idea that multi-core code has to have threading actually slows development, because it's a more difficult concept to implement correctly. Multiple processes get the job done as well in many instances, and since each process is single threaded it's easier to implement and maintain.
Of course, this is the exact same problem you have when you try to make a naive design concurrent by wrapping all the global variables in mutexes.