Hi to all,

 

I have a question. I want to create a flow that will process a large size 
List with these steps:



   1. Transform (concurrently) each elements
   2. Grouping (concurrently, one *grouped* per threads?) in Lists of 1000 
   items
   3. With a function, simultaneously process the lists grouped

I tried using the code below:

  Flow[String].
    mapAsyncUnordered(5) {
        case audience:String => transform( audience, null )
    }.
    grouped(100).
    mapAsyncUnordered(4)( persist( _ ) ) )

But the grouping function is executed sequentially


Thanks to all for any suggestions

Marino

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