4 ms·
When simulation is CPU-heavy, it will never scale. Though I admit that event-based concurrency might work better in many cases (like where communication overhea
by wookayin 7y ago
When simulation is CPU-heavy, it will never scale. Though I admit that event-based concurrency might work better in many cases (like where communication overhead is greater than computation), but in some environments you would need real parallelism using many CPU cores. This library also lacks benchmark.
- MutatedFlood 7y agoYou're right. I plan to add multiprocessing support such that there would be numCPU processes, each running one event loop. Which should scale properly. What kinds of benchmark do you suggest? I'll do my best to provide one. Thanks for the feedback.