As per the topic: I know that, for example, if I had the following:

broadcast ~> Flow[X].flatMapConcat(...) 
broadcast ~> Flow[X].flatMapConcat(...)

I would need an async boundary to make the two branches run concurrently.

How does this work with futures? What happens if I have this?

[A] broadcast ~> Flow[X].mapAsync(1)(...) 
[B] broadcast ~> Flow[X].mapAsync(2)(...) 


are [A](no par.) and [B](par. 2) run concurrently (total par. 3?) or it's 
either A(no par.) or B(par. 2) (in any sequential order, ABBAABB  etc 
depending on the demand/availability)?
In other words, if either A or B is running, is the stream waiting for the 
result of the "current" future before processing the other branch?


I think maybe this has been discussed before, but I can't find a proper 
answer... 

Thank you!

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to