{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","results":{"codes":[]},"settings":"","params":[]},"next":{"description":"","pages":[]},"title":"Configuration","type":"basic","slug":"configuration","excerpt":"What do I need to know about configuring Partisan?","body":"Partisan has several configuration options, some of which are backend specific.  To modify any configuration parameter, just use the `partisan_config` module.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"> partisan_config:set(partisan_peer_service_manager, partisan_default_peer_service_manager).\\nok\",\n      \"language\": \"erlang\"\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"title\": \"General Configuration\"\n}\n[/block]\n* `partisan_peer_service_manager`: The peer service manager backend to use.\n* `peer_ip`: The IP address that this machine will listen on for incoming connections.\n* `peer_port`: The port that this machine will listen on for incoming connections.\n*  `tls`: Whether to use TLS/SSL for peer connections.\n*  `tls_options`: TLS configuration options to use, as defined in the [ssl](http://erlang.org/doc/man/ssl.html) application.\n[block:api-header]\n{\n  \"title\": \"Default Backend Configuration\"\n}\n[/block]\n* `gossip_interval`: How often to gossip the membership to other members in the cluster.\n* `fanout`: The number of nodes that are contacted at each gossip interval.","updates":["58f6560dadefc03900df92bb","5d4ad387ffb20200112dc0a3"],"order":1,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"58e6c1cd577d500f005f2ad5","project":"5612c2a00fbdb60d00e4c7d1","__v":2,"createdAt":"2017-04-06T22:31:41.052Z","githubsync":"","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Partisan","slug":"cluster-operations","order":3,"from_sync":false,"reference":false,"_id":"58e6b6d185ec873100be9734","project":"5612c2a00fbdb60d00e4c7d1","version":"5612c2a00fbdb60d00e4c7d4","createdAt":"2017-04-06T21:44:49.026Z","__v":0},"parentDoc":null,"user":"5612c290c0731b0d00625078","version":{"version":"0.0.1","version_clean":"0.0.1","codename":"","is_stable":true,"is_beta":true,"is_hidden":false,"is_deprecated":false,"categories":["5612c2a10fbdb60d00e4c7d5","58e6b64bc397de1b00173c09","58e6b68eb1eece19008b81fe","58e6b6d185ec873100be9734","58f5e5c2616bbb1b00d54c15","58f5eaa74c413f19007a2858","58f767a79c723f19004e1ca9"],"_id":"5612c2a00fbdb60d00e4c7d4","createdAt":"2015-10-05T18:34:08.611Z","releaseDate":"2015-10-05T18:34:08.611Z","__v":7,"project":"5612c2a00fbdb60d00e4c7d1"}}

Configuration

What do I need to know about configuring Partisan?

Partisan has several configuration options, some of which are backend specific. To modify any configuration parameter, just use the `partisan_config` module. [block:code] { "codes": [ { "code": "> partisan_config:set(partisan_peer_service_manager, partisan_default_peer_service_manager).\nok", "language": "erlang" } ] } [/block] [block:api-header] { "title": "General Configuration" } [/block] * `partisan_peer_service_manager`: The peer service manager backend to use. * `peer_ip`: The IP address that this machine will listen on for incoming connections. * `peer_port`: The port that this machine will listen on for incoming connections. * `tls`: Whether to use TLS/SSL for peer connections. * `tls_options`: TLS configuration options to use, as defined in the [ssl](http://erlang.org/doc/man/ssl.html) application. [block:api-header] { "title": "Default Backend Configuration" } [/block] * `gossip_interval`: How often to gossip the membership to other members in the cluster. * `fanout`: The number of nodes that are contacted at each gossip interval.