Prev Next

Integration / Akka interview questions

context.actorOf vs system.actorOf in Akka tool kit.

Both create actors however the difference lies where the actors are created in the actor tree hierarchy.

Actors spawned with System.actorOf will be children of the guardian actor while the actors spawned with context.actorOf will be children of the context itself - i.e. the actor which invokes the method.

More Related questions...

Show more question and Answers...


Comments & Discussions