Skip to content

Commit

Permalink
Updating the Bastion architecture image and adding it to README.md. See
Browse files Browse the repository at this point in the history
bastion-rs#215 (bastion-rs#215) for more information.
  • Loading branch information
fosdickio committed Mar 1, 2021
1 parent 0d159ea commit d1a8a42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@ For more information please check [Bastion Documentation](https://docs.rs/bastio
Runtime is structured by the user. Only root supervision comes in batteries-included fashion.
Worker code, worker group redundancy, supervisors and their supervision strategies are defined by the user.

Supervision strategies define how child actor failures are handled, how often a child can fail, and how long to wait before a child actor is recreated. As the name suggests, One-For-One strategy means the supervision strategy is applied only to the failed child. All-For-One strategy means that the supervision strategy is applied to all the actor siblings as well. One-for-one supervision is used at the root supervisor, while child groups may have different strategies like rest-for-one or one-for-all.

![Bastion Architecture](img/bastion-architecture.png)

## License

Licensed under either of
Expand Down
Binary file added img/bastion-architecture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d1a8a42

Please sign in to comment.