How To parallel compute in streams

28 views
Skip to first unread message

lukas.c...@gmail.com

unread,
Apr 25, 2017, 4:28:35 AM4/25/17
to Akka User List
Hello,

i implemented the example from http://fruzenshtein.com/simple-akka-use-case/ and wonder how to implement 
this pattern as akka streams. Especially the line for dynamic actor spawning confuses me.

files.foreach(file => context.actorOf(FileReaderActor.props) ! file)

Which pattern in akka streams does what i am looking for? 
Broadcast / Merge with a fixed worker pool?
BroadcastHub and MergeHub with an e.g. Actor in between for processing?

Thanks
Lukas

Arnout Engelen

unread,
Apr 25, 2017, 4:32:50 AM4/25/17
to akka...@googlegroups.com

--
>>>>>>>>>> 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 akka-user+unsubscribe@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.



--
Arnout Engelen
Reply all
Reply to author
Forward
0 new messages