Updating the Bastion architecture image and adding it to README.md. See #215 (https://github.com/bastion-rs/bastion/issues/215) for more information. (#311)

This commit is contained in:
fosdick.io 2021-03-01 22:11:31 +00:00 committed by GitHub
parent 0d159ea483
commit ac238b3cdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -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. 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. 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 ## License
Licensed under either of Licensed under either of

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB