Rust Async Runtime
| Priority | MUST |
|---|---|
| Type of change request | FEATURE |
| Epic link | |
| Status | DONE |
| Target release | 0.1.0 |
Vision: Asynchronous programming in highly I\O application like `Iroha` should give better utilization of hardware resources. Async runtimes can give better performance and some OOB functionality for futures handling.
Functional details: Rust provides an ability (via `futures` crate) to abstract over futures executing runtime.
Environmental objectives: None
Changelog
| # | Change description | Affected component | Change motivation |
|---|---|---|---|
| 1 | Async-std was introduced for several modules | `Kura`, `WSV` | Start using of async programming in Iroha |
Research strategy
| # | Research activity | Details | Acceptance criteria | Responsible (accepter) |
|---|---|---|---|---|
| 1 | Reading of Tokio vs Async-Std articles | Important aspects that were identified:
|
| Egor Ivkov |
| 2 | https://github.com/eadventurous/async-runtimes-cmp | Comparison of runtimes with sync approach |
| Egor Ivkov |
, multiple selections available,