That sounds strange. I think the code looks good. Just to clarify, it's
extractUserList that you expect to be performed in parallel?

/Patrik

On Mon, Oct 31, 2016 at 2:16 AM, Eugene Dzhurinsky <[email protected]>
wrote:

> I want to fetch and process multiple resources using streams. I have a
> list of user ids and I am traversing the list by mapping the ID to an
> iterator of other links.
>
> So far it works pretty well, however can see that despite of usage of
> *mapAsyncUnordered* - the stream source is processed *synchronously*, one
> after another. I wonder if that happens because I use *FileIO.toPath* as
> sink? Or am I missing something?
>
> The code is pretty simple: https://gist.github.com/jdevelop/
> 88c68227f6e54b5342a9b02956c3cf74
>
> Thanks!
>
> --
> >>>>>>>>>> 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.
>



-- 

Patrik Nordwall
Akka Tech Lead
Lightbend <http://www.lightbend.com/> -  Reactive apps on the JVM
Twitter: @patriknw

-- 
>>>>>>>>>>      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