2 ms·
The shared-nothing approach (for example, implemented by using processes instead of threads) is also more scalable. After all, if you design your parallelism a
by wladimir 16y ago
The shared-nothing approach (for example, implemented by using processes instead of threads) is also more scalable.
After all, if you design your parallelism architecture to not rely on a shared memory space, you can later parallelize over multple machines as well as cores.
The only thing I wonder about is that processes might be more heavy-weight than threads with respect to memory usage. Then again, if you only create a fixed amount of processes, equal to the number of cores, as you should for "perfect" parallelism, the overhead is pretty much zero.