Skip to content
/ aten Public

An adaptive accrual node failure detection library for Elixir and Erlang

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
Apache-2.0
LICENSE-APACHE2
MPL-2.0
LICENSE-MPL-RabbitMQ
Notifications You must be signed in to change notification settings

rabbitmq/aten

Aten

This is an implementation of A New Adaptive Accrual Failure Detector for Dependable Distributed Systems for distributed Erlang.

Aten is an essential dependency of Ra.

Project Maturity

aten is a reasonably mature project that has been used in production for a few years. Breaking public API changes are unlikely.

Build Status

Actions

Use

%% start the aten application if not part of a release
{ok, _Apps} = aten:start(),
%% register interest in status changes for a node
ok = aten:register(node1@host),
%% receive status change events
receive
    {node_event, node1@host, down} -> ok;
    {node_event, node1@host, up} -> ok
end

%% deregister interest
ok = aten:deregister(node1@host),

Build

gmake

Or with Rebar 3

rebar3 compile

License

aten is dual-licensed under the Mozilla Public License 2.0 and the Apache Public License 2.0.

(c) 2017-2024 Broadcom. All Rights Reserved. The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.