|
|
|
|
|
by titzer
2363 days ago
|
|
This is exactly the situation for a well-balanced parallel work queue. You want to start as many threads as there are cores and run them full tilt pulling work off the queue until it is empty. If you're running a large scale cluster that is dedicated to a particular task (e.g. like servicing a special kind of query, or encoding videos, rendering, etc), this is very common, or even a parallel Photoshop filter. |
|
What if your work queues are running on a multitasking operating system that runs services? And what about a hypervisor?