Mahmut Bulut (@vertexclique)
Mahmut Bulut
@vertexclique on internets.
We always use try! or ? which creates deep error chains and recovery code.
Hard to maintain, especially on larger projects.
First Error Handling Code
Second Error Handling Code
* Fault-error-failure cascade can lead to life-threatening hazards (https://www.vlsifacts.com/defects-errors-and-faults/)
Where your application's features and mission lies.
Where your application's error recovery lies.
Where your application's features and mission lies.
Where your application's fault recovery lies.
Natural asynchronous communication between components.
Defining the application's
behavior against various errors.
Where your application's features and mission lies.
Where your application's fault recovery lies.
Natural asynchronous communication between components.
Defining the application's
behavior against various errors.
Through the supervisors which manage the concurrency primitives that contain business logic.
Through the callbacks which can define lifecycles of lightweight processes.
Bastion Middleware Example: https://github.com/bastion-rs/bastion/blob/master/bastion/examples/middleware.rs
Bastion Parallel Computation Example: https://github.com/bastion-rs/bastion/blob/master/bastion/examples/parallel_computation.rs
vertexclique@gmail.com