skip to content
[readonly]

A fleet's cluster config (key = value): every member's peer address, this member's links, and its timing

sh
$ sexc add @ajax/mesh-cluster-conf
  • total 3
  • drwxr-xr-x-../
  • drwxr-xr-x-Oct 27 04:08v/# 1 version
  • drwxr-xr-x-Oct 27 04:08files/# the files of 0.1.0
latest
0.1.0, published Oct 27 04:08 by ajax
owners
ajax
license
MIT
dependencies
@ajax/mesh-check ^0.1.0, @ajax/mesh-mt ^0.1.0, @ajax/mesh-parse ^0.1.0, @ajax/mesh-strmap ^0.1.0, @ajax/rust-fmt ^0.1.0, @ajax/mesh-sched-weights ^0.1.0, @ajax/mesh-abi-base ^0.1.0, @ajax/mesh-abi-peer-frames ^0.1.0
dependents
@ajax/mesh-args, @ajax/mesh-peer-relay
keywords
mesh alphaos fleet cluster config topology
homepage
https://github.com/thomasdavis/alpha-c-mesh/tree/main/packages/mesh-cluster-conf
repository
https://github.com/thomasdavis/alpha-c-mesh
==> README.md <==
1# @ajax/mesh-cluster-conf
2
3A fleet's cluster config: one `key = value` file describing every member (`systems = N`, each
4`k.peer = host:port`, an optional `k.listen`), the liveness timing (`ping_ms`, `dead_ms`) and the
5scheduler's `sched_*` policy. `mcc_topology_parse` gives one member's view: where it listens (systems
6k > 0) and whom it dials (every j > k).
7
8## Ported from
9
10[alpha-rust-mesh](https://github.com/rsafier/alpha-rust-mesh) `crates/mesh-host/src/cluster.rs`
11(`Topology`, `Tunables`, `keys`, `topology`, `pair_dialer`, `pair_listener`).
12
13## Tests
14
15`tests/cluster.c`: the Rust's `three_systems` and `errors` tests, with the exact error messages.
16
17## Licence
18
19MIT. See the repository's LICENSE.