Team,I working on an app using akka persistence,akka remoting,akka sharding. We are taking DDD/CQRS approach.Below is the app configuration,akka {loglevel = INFOactor {provider = "akka.cluster.ClusterActorRefProvider"}remote {log-remote-lifecycle-events = offnetty.tcp {hostname = "127.0.0.1"port = 9088}}cluster {seed-nodes = ["akka.tcp://akka...@127.0.0.1:9088"]auto-down-unreachable-after = 20s}persistence {journal.plugin = "cassandra-journal"}}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,
- What is Recommended Type of Dispatcher
- How to calculate threads per thread pool
- Do we need to consider cores?
- Do we need to consider type of OS
- Will JVM configuration matter
[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.-Prakhyat M M
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,
- What is Recommended Type of Dispatcher
- How to calculate threads per thread pool
- Do we need to consider cores?
- Do we need to consider type of OS
- Will JVM configuration matter
[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.
>>>>>>>>>> Read the docs: http://akka.io/docs/---Prakhyat M M
>>>>>>>>>> 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+...@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
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.
Consider 3 dispatchers with 8 threads each on a dual core machine.