Skip to Content
Akka in Action, Second Edition
book

Akka in Action, Second Edition

by Raymond Roestenburg, Rob Williams, Francisco Lopez Sancho, Robertus Bakker
August 2023
Intermediate to advanced content levelIntermediate to advanced
400 pages
11h 7m
English
Manning Publications
Content preview from Akka in Action, Second Edition

6 Discovery and routing

This chapter covers

  • Discovering other actors
  • Creating proxy actors

In this chapter, you learn how an actor can find another actor that is not its child. For example, suppose a manager creates workers to parse files, and later you develop a statistics collector that is only concerned with how many workers there are and how much work they do. If the collector is not embedded when the workers are created, how can it find the workers to request the information it needs? In other words, how can you add this new collector without tangling it up with the manager/worker part?

In Akka Typed, this problem has been solved with the receptionist. The idea is simple: the receptionist registers and subscribes actors to a specific key. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Akka in Action

Akka in Action

Rob Williams, Raymond Roestenburg, Robertus Bakker
Akka in Action, Second Edition, Video Edition

Akka in Action, Second Edition, Video Edition

Robertus Bakker, Rob Williams, Raymond Roestenburg, Francisco Lopez-Sancho
Functional Programming in Scala, Second Edition

Functional Programming in Scala, Second Edition

Paul Chiusano, Runar Bjarnason, Michael Pilquist

Publisher Resources

ISBN: 9781617299216Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link