Chapter 8. Structural patterns for actors

In this chapter

  • Pipes and filters for sequential processing
  • Scatter-gather for parallelizing tasks
  • Recipient list: the scatter component
  • Aggregator: the gather component
  • Routing slip: dynamic pipes and filters

One of the immediate concerns with actor-based programming is how you model code that requires collaborators to work together when each unit of work is done in parallel. Collaboration implies some notion of process, and although there can be parallel processes, there will also be cases where it’s essential that certain steps happen after required prior steps have been completed. By implementing a few of the classic enterprise integration patterns (EIPs), we’ll show how Akka allows you to ...

Get Akka in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.