hseeberger/akkaexamples — comment on commit 179acbbbf6423f72d0cf152ca7b54dc457850f8f
File: src/main/scala/name/heikoseeberger/akkaexamples/simple/Simple.scala line 31
By patriknw:

On Tue, Dec 6, 2011 at 3:23 PM, Heiko Seeberger <
reply@reply.github.com
> wrote:

> Thanks for your comments, Patrik!
>
> I am not sure if I want a supervised actor. Would you say that using
> _ActorContext.actorOf_ is idiomatic and _ActorSystem.contextOf_ should be
> avoided?
>

You will always have a supervisor. It's more idiomatic to use supervisor
hierarchies than letting everything hang under the system (guardian).
Especially in this case it makes sense to let it be a child, since it is a
temporary actor.

>
> And yes, I want a "transient" _ReverseActor_. Actors are lightweight and
> can be created (and disposed) on the fly, right?
>

OK, as long as it was it not accidental

>
> ---
> Reply to this email directly or view it on GitHub:
>
> https://github.com/hseeberger/akkaexamples/commit/179acbbbf6423f72d0cf152ca7b54dc457850f8f#commitcomment-772507
>

--

Patrik Nordwall
Typesafe - Enterprise-Grade Scala from the Experts
Twitter: @patriknw