Go to file
Mahmut Bulut d1d74d8b6f Push some fancy art 2020-02-28 22:29:33 +01:00
.github Add CI 2020-02-11 02:44:47 +01:00
artillery-core Auto init code for AP cluster 2020-02-26 20:22:00 +01:00
artillery-ddata Setting up the battlefield, get ready peeps 2019-12-11 22:00:46 +01:00
artillery-hierman Setting up the battlefield, get ready peeps 2019-12-11 22:00:46 +01:00
deployment-tests Add MDNS service discovery 2020-02-11 02:27:29 +01:00
img Push some fancy art 2020-02-28 22:29:33 +01:00
.gitignore Add MDNS service discovery 2020-02-11 02:27:29 +01:00
Cargo.toml Setting up the battlefield, get ready peeps 2019-12-11 22:00:46 +01:00
LICENSE-APACHE Setting up the battlefield, get ready peeps 2019-12-11 22:00:46 +01:00
LICENSE-MIT Setting up the battlefield, get ready peeps 2019-12-11 22:00:46 +01:00
README.md Push some fancy art 2020-02-28 22:29:33 +01:00

README.md



Artillery: Cluster management & Distributed data protocol

It contains the modules below:

  • artillery-ddata: Used for distributed data replication
  • artillery-core: Contains:
    • cluster: Prepared self-healing cluster structures
    • epidemic: Infection style clustering
    • service_discovery: Service discovery types
      • mdns: MDNS based service discovery
      • udp_anycast: UDP Anycast based service discovery
  • artillery-hierman: Supervision hierarchy management layer (aka Bastion's core carrier protocol)

Examples

Below you can find examples to learn Artillery. You can also take a look at the Core Examples.

Launching a local AP Cluster

To spawn a local AP cluster at any size you can use the command below in the root directory of the project:

$ deployment-tests/cluster-mdns-ap-test.sh -s 50

Argument -s defines the amount of nodes in the cluster. To shut down the cluster either use:

$ killall cball_mdns_sd_infection

or kill processes one by one to see that cluster is self-healing.