Beethoven.Allocator.Cruncher (Beethoven v0.3.9)
Crunches signal data and generates an allocation (or busy-score) score for the current node.
Signal data is pulled from the Beethoven.Allocator.Ingress.Cache
ets table.
The aggregated score is stored in the Beethoven.Allocator.Tracker
Mnesia table.
This PID will refresh the score anytime Beethoven.Allocator.Ingress
pushes an update and sends a cast to this PID.
Summary
Functions
Crunching algorithm for each signal item.
Returns a specification to start this module under a supervisor.
Sends a check message to the local instance of Cruncher
Supervisor Entry point.
Functions
Crunching algorithm for each signal item.
Returns a specification to start this module under a supervisor.
See Supervisor
.
@spec send_check() :: :ok
Sends a check message to the local instance of Cruncher
@spec start_link(any()) :: GenServer.on_start()
Supervisor Entry point.