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

allocate()

@spec allocate() :: node()

Requests a node for work allocation.

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(init_args \\ [])

@spec start_link(any()) :: GenServer.on_start()

Supervisor Entry point.