The Scala Actors API puts a powerful, yet simple, parallel computing framework built on top of the JVM at your disposal. This chapter illustrates how to accomplish some common parallel and distributed computing tasks with actors. In particular, we focus on two patterns that are useful in many applications: MAPREDUCE and reliable broadcasting. MAPREDUCE is a paradigm for parallel and distributed programming that has been established as a de facto standard to accomplish a wide variety of tasks, such as hypertext document processing, machine learning, and data mining. Reliable broadcasting, on the other hand, is often necessary in distributed applications where machines in a cluster can fail due to hardware outages or communication delays.
|Title of host publication||Actors in Scala|
|Subtitle of host publication||Concurrent programming for the multi-core era|
|Editors||Philipp Haller, Frank Sommers|
|Number of pages||17|
|Publication status||Published - 31 Jan 2012|
Bibliographical notePhilipp Haller and Frank Sommers