# bastion-rs/bastion

Highly-available Distributed Fault-tolerant Runtime

Repository: https://github.com/bastion-rs/bastion
Canonical: https://ross.abutalabs.com/products/bastion
Homepage: https://www.bastion-rs.com
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: fault-tolerance, rust, rust-language, supervision, actor, concurrency, asynchronous, distributed-systems, smp, numa-aware, distributed, hacktoberfest
Last push: 2023-04-22T02:50:49+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2600, "days_push": 1229, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2911, forks 103 (observed 2026-08-28T04:07:29.239237+00:00)

## What it is
Bastion is a highly-available, fault-tolerant runtime for Rust that provides actor-model-like concurrency with lightweight processes, supervision trees, and a NUMA-aware SMP executor. It brings Erlang-style supervision and message-based communication to Rust applications.

## Use cases
- build fault-tolerant actor-based systems in Rust
- supervise and restart failing subprocesses automatically
- run lightweight concurrent message-passing tasks
- write Erlang-style supervised applications in Rust
- build small-scale distributed systems with fault tolerance

## When to choose
- you want actor-model concurrency with supervision trees in Rust
- you need fault-tolerant message-passing without a web framework
- you want Erlang-like reliability semantics with Rust performance

## When to avoid
- you need a mature, actively developed framework - releases have stalled since 2023
- you need guaranteed message delivery - Bastion only promises at-most-once
- you need large-scale distributed clustering rather than single-node fault tolerance

## Facets
- artifact type: library
- maturity: maintenance
- function: concurrency, microservices
- domain: microservices, developer-tools
- platform: rust, windows, cross-platform
- tags: actor-model, fault-tolerance, supervision, async-runtime, erlang-style, smp, numa-aware, linux, macos

## Member repositories
- bastion-rs/bastion (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:29.239237+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:34:15.409246+00:00, confidence not recorded.
  - readme: https://github.com/bastion-rs/bastion (fetched 2026-08-28T04:07:29.239237+00:00, sha f3c571820d42)
  - homepage: https://www.bastion-rs.com (fetched 2026-08-29T09:49:29.506909+00:00, sha 3361e6eeed9a)
  - registry_crates: https://crates.io/api/v1/crates/bastion (fetched 2026-08-29T09:49:29.509548+00:00, sha c184143edd1c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
