herd v0.4.2 Herd.Cluster View Source
Macro for generating a cluster manager. It will create, populate and refresh
a Herd.Balancer
in an ets table by polling the configured Herd.Discovery
implementation.
Usage:
defmodule MyHerdCluster do
use Herd.Cluster, otp_app: :myapp,
router: MyRouter,
discovery: MyDiscovery,
pool: MyPool
end