Merge "BUG 2676 : Add some tuning parameters to improve the performance of CDS"
[integration/test.git] / test / tools / cluster-deployer / templates / multi-node-test / akka.conf.template
index 87d61f9f976ebfb97abbce5c694d7afb3ec8e6a1..b33a080817812051436a5d402056e14e935989fe 100644 (file)
@@ -24,6 +24,18 @@ odl-cluster-data {
                   "com.google.protobuf.Message" = proto
 
               }
+
+      default-dispatcher {
+        # Setting throughput to 1 makes the dispatcher fair. It processes 1 message from
+        # the mailbox before moving on to the next mailbox
+        throughput = 1
+      }
+
+      default-mailbox {
+        # When not using a BalancingDispatcher it is recommended that we use the SingleConsumerOnlyUnboundedMailbox
+        # as it is the most efficient for multiple producer/single consumer use cases
+        mailbox-type="akka.dispatch.SingleConsumerOnlyUnboundedMailbox"
+      }
     }
     remote {
       log-remote-lifecycle-events = off
@@ -71,6 +83,9 @@ odl-cluster-rpc {
       netty.tcp {
         hostname = "{{HOST}}"
         port = 2551
+        maximum-frame-size = 419430400
+        send-buffer-size = 52428800
+        receive-buffer-size = 52428800
       }
     }