May 2017
Intermediate to advanced
414 pages
13h
English
ScatterGatherFirstCompletedPool has a property whereby it sends the same message to all the routee actors, but waits for the first reply from any of them, and then discards the other replies.
For this, we created an actor, and then created a ScatterGatherFirstCompletedPool of actors.
Since it waits for the the actors' reply, we use future to get the response-Situations where you have many machines and want to send the work to the machine that responds quickly.
Read now
Unlock full access