Replies: 1 comment 11 replies
-
You can send requests in the flow and then merge the responses back, e.g.:
If you don't care about the order, you can also use Since you've already mentioned
This would give you a pool with five workers, whereas Also, just to be clear, the actor pool dispatches to actors, not threads. They are cooperatively scheduled, event-based actors. If you want to force a single thread for each worker, you can spawn them with |
Beta Was this translation helpful? Give feedback.
-
How to do some transformation in parallel?
Can I use somehow actor_pool to configure how many threads I want to use?
Beta Was this translation helpful? Give feedback.
All reactions