These are the samples for the course "Rust for Reactive services".
- slides-support :
Illustrate how Rust help to increase Compile time correctness.
- Make invalid state unrepresentable (and with zero-cost abstractions)
- Expose Type safe APIs
- Leverage Ownership system to enforce business logic
The second part of the course is an exploration of using Rust to implement a e-commerce order service. Using event-sourcing and following the onion architecture.
-
Starting with the domain reactive_service_domain:
- How to model an order state and the associated entity. Exposing them with a type safe finite state machine.
-
Then, the application layer, going through different concurrency strategies