tillrohrmann commented on a change in pull request #6339: [FLINK-9859] 
[runtime] distinguish JM akka config
URL: https://github.com/apache/flink/pull/6339#discussion_r208240285
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/entrypoint/ClusterEntrypoint.java
 ##########
 @@ -395,6 +396,15 @@ protected RpcService createRpcService(
                        Configuration configuration,
                        String bindAddress,
                        String portRange) throws Exception {
+               // Enlarge thread pool to improve the performance of 
ActorSystem.
+               
configuration.setDouble(AkkaOptions.FORK_JOIN_EXECUTOR_PARALLELISM_FACTOR, 1.0);
+               
configuration.setInteger(AkkaOptions.FORK_JOIN_EXECUTOR_PARALLELISM_MIN, 16);
+               
configuration.setInteger(AkkaOptions.FORK_JOIN_EXECUTOR_PARALLELISM_MAX, 64);
+               
configuration.setInteger(AkkaOptions.SERVER_SOCKET_WORKER_POOL_SIZE_MIN, 8);
+               
configuration.setInteger(AkkaOptions.SERVER_SOCKET_WORKER_POOL_SIZE_MAX, 64);
+               
configuration.setInteger(AkkaOptions.CLIENT_SOCKET_WORKER_POOL_SIZE_MIN, 8);
+               
configuration.setInteger(AkkaOptions.CLIENT_SOCKET_WORKER_POOL_SIZE_MIN, 64);
 
 Review comment:
   The same applies here. Don't predefine the configuration values.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to