Building Reactive Applications with Akka Typed

This chapter reveals another way to build reactive applications with Akka. We will introduce Akka Typed, an Akka module which implements the actor model in a slightly different way compared to untyped Akka. We will contrast classical and typed approaches and show how the latter reduces the developer's choices but increases type safety and simplifies reasoning about actor-based programs during the maintenance phase.

The following topics will be covered in this chapter:

  • Differences between typed and untyped approaches
  • Creating, stopping, and discovering actors
  • The life cycle of an actor and supervision
  • Schedulers
  • Stashing
  • Combining behaviors
  • Testing

Get Learn Scala Programming 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.