5 ms·
for a more constructive reply than a downvote, using multiple threads allows you to post closures between executors which is a very flexible and powerful messag
by gpderetta 6y ago
for a more constructive reply than a downvote, using multiple threads allows you to post closures between executors which is a very flexible and powerful message passing model. I haven't looked deep enough into scipio, but as it is inspired on seastar I assume it allows that as well.
Multiple processes works better if you have little or no sharing or communication between the threads.
- glaubercosta 6y agoExactly right. Scipio doesn't support that yet, but keep in mind that when Hannibal was out there putting everyone to shame Scipio was still a child. There is already a PR to support that that I intend to merge soon. Indeed without that, you might as well use multiple processes