Merge "BUG 2676 : Add some tuning parameters to improve performance of CDS"
[controller.git] / opendaylight / md-sal / sal-clustering-config / src / main / resources / initial / akka.conf
1
2 odl-cluster-data {
3   bounded-mailbox {
4     mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
5     mailbox-capacity = 1000
6     mailbox-push-timeout-time = 100ms
7   }
8
9   metric-capture-enabled = true
10
11   akka {
12     loglevel = "INFO"
13     loggers = ["akka.event.slf4j.Slf4jLogger"]
14
15     actor {
16       provider = "akka.cluster.ClusterActorRefProvider"
17       serializers {
18         java = "akka.serialization.JavaSerializer"
19         proto = "akka.remote.serialization.ProtobufSerializer"
20       }
21
22       serialization-bindings {
23         "com.google.protobuf.Message" = proto
24       }
25
26       default-dispatcher {
27         # Setting throughput to 1 makes the dispatcher fair. It processes 1 message from
28         # the mailbox before moving on to the next mailbox
29         throughput = 1
30       }
31
32       default-mailbox {
33         # When not using a BalancingDispatcher it is recommended that we use the SingleConsumerOnlyUnboundedMailbox
34         # as it is the most efficient for multiple producer/single consumer use cases
35         mailbox-type="akka.dispatch.SingleConsumerOnlyUnboundedMailbox"
36       }
37     }
38     remote {
39       log-remote-lifecycle-events = off
40       netty.tcp {
41         hostname = "127.0.0.1"
42         port = 2550
43         maximum-frame-size = 419430400
44         send-buffer-size = 52428800
45         receive-buffer-size = 52428800
46       }
47     }
48
49     cluster {
50       seed-nodes = ["akka.tcp://opendaylight-cluster-data@127.0.0.1:2550"]
51
52       auto-down-unreachable-after = 300s
53
54       roles = [
55         "member-1"
56       ]
57
58     }
59   }
60 }
61
62 odl-cluster-rpc {
63   bounded-mailbox {
64     mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
65     mailbox-capacity = 1000
66     mailbox-push-timeout-time = 100ms
67   }
68
69   metric-capture-enabled = true
70
71   akka {
72     loglevel = "INFO"
73     loggers = ["akka.event.slf4j.Slf4jLogger"]
74
75     actor {
76       provider = "akka.cluster.ClusterActorRefProvider"
77
78     }
79     remote {
80       log-remote-lifecycle-events = off
81       netty.tcp {
82         hostname = "127.0.0.1"
83         port = 2551
84         maximum-frame-size = 419430400
85         send-buffer-size = 52428800
86         receive-buffer-size = 52428800
87       }
88     }
89
90     cluster {
91       seed-nodes = ["akka.tcp://odl-cluster-rpc@127.0.0.1:2551"]
92
93       auto-down-unreachable-after = 300s
94     }
95   }
96 }

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.