3 ms·
> I suspect it will be useful, but in the end, message passing is I think a better idiom than shared memory threads for parallel programming. It really depends
by mercurial 12y ago
> I suspect it will be useful, but in the end, message passing is I think a better idiom than shared memory threads for parallel programming.
It really depends on the problem you are working with. You wouldn't want to make a high-performance HTTP server this way. Especially if you get to copy 2MB of POST data every time.
- yminsky 12y agoFor an HTTP server you should use Async or LWT, which are lightweight concurrency libraries. You can handle quite high levels of concurrency with either one. My impression is that people building highly parallel HTTP servers do quite well with collections of processes with a load-balancer in front, but it's not my area of expertise.