Beethoven.Allocator.Dispatch (Beethoven v0.3.1)
Dispatches the URI of the node with the least amount of work.
Summary
Functions
Requests a node for work allocation.
Returns a specification to start this module under a supervisor.
Supervisor Entry point.
Functions
@spec allocate() :: node()
Requests a node for work allocation.
Returns a specification to start this module under a supervisor.
See Supervisor
.
@spec start_link(any()) :: GenServer.on_start()
Supervisor Entry point.