There are serval places which we can configure Akka:
- log level and logger backend
- enable remote
- message serializers
- definition of routers
- tuning of dispatchers
Two important concepts we need to understand when we do configuration:
It defines the number of messages that are processed in a batch before the thread is returned to the pool.
- parallelism factor
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.