One thing you can look into is using the EventBus to send "domain events"
between top-level actors. Apparently top-level actors (i.e. created with
system.actorOf rather than context.actorOf) are more expensive so you don't
want zillions of them, but I think a handful of loosely-coupled components
is fine.

On Fri, Nov 27, 2015 at 2:51 AM, Bill Donn <ray.moreh...@gmail.com> wrote:

> I have a rather general question about best practices with akka.
>
> I'd like to create an application with multiple components.  For example,
> I'd like to stream input data with akka.io to add to a database;  I'd
> also like perhaps a web page to expose the data, or perhaps a rest
> interface to expose the data.  And perhaps some internal data crunching.
>
> The actual components aren't really important, instead I was wondering if
> anyone might share some thoughts on how best to integrate multiple services
> like this;  is it best to run each as a separate process, or to use a
> master actor to initiate each of the processes, so as to control restart in
> the event of failure?  Appreciate any insight.
>
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to