Hi,
On Wed, Apr 29, 2015 at 11:45 PM, TS <[email protected]> wrote: > I am new to Akka and using it to develop a Java based app. > > I would appreciate feedback on best practices. > > 1. requests handled by a front end actor (created for every request using > actorOf()) > -> When I stop the actor that created other actors. All the other > actors created by this actor are stopped I presume > Yes, all the children of an actor are stopped (recursively) when an actor is stopped. > -> What are the best practices for naming ? It would be ideal if I > can give a name and Akka appends a $1, $2 to the name for every actor > created. > Akka does not provide such functionality, either you use temp names when it maintains a counter, or give an explicit name. Just use an AtomicLong if you want to add your own monotonic counter to names. > 2. Monitoring Akka actors and mailboxes > -> What are the available tools ? > Currently work is ongoing for an "official" solution, in the meantime you can look at Kamon. > > 3. Storing app related data. > -> application.conf has akka specific stuff. What are best practices > for storing application related data in akka apps. > application.conf can contain whatever you want. If you want to separate akka specific settings, then you can create an akka.conf file and include it from application.conf. You can extract other pieces of configuration in the same way. -Endre > > Thanks, > > TS. > > > > > > -- > >>>>>>>>>> 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > -- Akka Team Typesafe - Reactive apps on the JVM Blog: letitcrash.com Twitter: @akkateam -- >>>>>>>>>> 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
