I'm looking at using Akka's new typed channels as a way to maintain the actor model in my project without the pain of lots of explicit casts where you really do need to wait on a response.
I've had great luck creating typed channels and integrating them, but I'm so far not seeing any easy solutions for creating pools of these actors for parallel execution, which is easy to do with regular untyped actors. Do I need to build my own router system?
E.g., for untyped actors I can do something like this, and I magically get four actors.
akkaSystem.actorOf(Props[UntypedActor]
.withRouter(RoundRobinRouter(nrOfInstances=4)), "routed")
For typed channels, I have to do something like this:
ChannelExt(akkaSystem).actorOf(new TCActor, "singleton")
Obviously I could write a second typed channel that creates a pool of actors and rotates between them, but that seems like something that someone would have done before!