Peerage v0.1.0 Peerage

Cluster formation, with initial support for dns-based service discovery. Should be usable out of the box with Kubernetes (and Convox, when using the Weave AMI).

Usage

config :peerage, via: Peerage.Via.$SOME_PROVIDER

There are several providers.

The List provider is for dev config, so I can easily spin up at least 2 nodes locally in console, and the Dns provider is for production config.

Writing Your Own Providers

defmodule MyWayToFindHomies do
  use Peerage.Server
  def poll, do: [ :"node@somewhere" ]
end

And in config:

config :peerage, via: MyWayToFindHomies

Summary

Functions

Callback implementation for Application.start/2

Functions

start(type, args)

Callback implementation for Application.start/2.