Hi Andre, Thanks.
For point [1] What do you mean by "It is also a very good practice to use separate dispatchers for various parts of the system." I have not seen any app with separate dispatchers. Kindly share any article which describes this and app over github would be help. I have my app using akka persistence/remoting/sharding. -Prakhyat M M On Thursday, 28 August 2014 14:44:13 UTC+5:30, Akka Team wrote: > > Hi Prakhyat, > > > > We are creating one actor system for entire app. Correct me if I am wrong, > the >>> default dispatcher by default uses a fork-join thread pool with at least 8 >>> threads. >>> >>> We need to support millions of requests from client. How to tune >>> dispatcher of actor system when using akka persistence/sharding/ >>> clustering, >>> >>> 1. What is Recommended Type of Dispatcher >>> >>> Usually the ForkJoin pool is the best option for most of the workloads, > but this is something you need to measure. It is also a very good practice > to use separate dispatchers for various parts of the system. Then they > might be tuned individually. > > >>> 1. How to calculate threads per thread pool >>> >>> This is documented in the configuration file: > > # The parallelism factor is used to determine thread pool size using > the > # following formula: ceil(available processors * factor). Resulting > size > # is then bounded by the parallelism-min and parallelism-max values. > > > >> >>> 1. Do we need to consider cores? >>> >>> Yes, for example if you have only 8 cores then configuring 100 threads > in the pool makes usually no sense. If you have 8 cores then you might also > want to have at least 8 threads. > > >> >>> 1. Do we need to consider type of OS >>> >>> I don't have any benchmarks of Akka that compares different OSes on the > same machine. Also, this is probably workload dependent. > > >> >>> 1. Will JVM configuration matter >>> >>> Yes of course. Again, it is not easy to give any particular > configuration, these are all use case depedent. > > >> [Note:] Suggest any missed parameter in above list. Also how to specify >>> custom dispatcher configuration in app conf. >>> >>> Basically want to understand criteria's to decide performing dispatcher >>> per actor system. >>> >>> Is there any other configuration required to tune akka >>> persistence/cluster/shard kind of application for good performance. >>> >>> Also recommendations for tuning akka persistence/cluster/shard kind of >>> application would be great help. >>> >> > Apart from very generic advice we cannot really do much more without > detailed information about your application. If you want in-depth expert > advice tailored to your needs you might want to look into our consulting > offerings: http://typesafe.com/how/consulting > > -Endre > > >> >>> -Prakhyat M M >>> >>> -- >> >>>>>>>>>> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at http://groups.google.com/group/akka-user. >> >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Akka Team > Typesafe - The software stack for applications that scale > 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.
