Beethoven.Utils (Beethoven v0.2.4)
Module for generic utilities.
Summary
Functions
Performs a backoff wait to void race conditions in a distributed environment. (:rand.uniform(1..max) + delta) * multiplier
The same as backoff/3
but shows the calling service's name in the verbose output.
Gets an environmental variable from beethoven's application config
Toggles the monitoring status of all nodes in the cluster.
Toggles the monitoring status of another node in the cluster.
Fn to simplify calling named Processes on other nodes... and getting a call back.
Functions
Performs a backoff wait to void race conditions in a distributed environment. (:rand.uniform(1..max) + delta) * multiplier
The same as backoff/3
but shows the calling service's name in the verbose output.
Performs a backoff wait to void race conditions in a distributed environment. (:rand.uniform(1..max) + delta) * multiplier
Gets an environmental variable from beethoven's application config
@spec monitor_all_nodes(boolean()) :: :ok
Toggles the monitoring status of all nodes in the cluster.
Toggles the monitoring status of another node in the cluster.
Fn to simplify calling named Processes on other nodes... and getting a call back.