Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Priority

Status
colourRed
titleMUST

Type of change request

Status
subtletrue
colourGreen
titleFEATURE

Epic link
Status

Status
subtletrue
colourGreen
titleDONE

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.

...

Environmental objectives: None

Changelog 

#Change descriptionAffected componentChange motivation
1Async-std was introduced for several modules`Kura`, `WSV`

Start using of async programming in Iroha


Research strategy

#Research activityDetailsAcceptance criteriaResponsible (accepter) 
1Reading of Tokio vs Async-Std articles

Important aspects that were identified: 

  • async-std has a safer layer of abstraction
  • a lot of old libraries heavily depends on tokio
  • overhead (lower is better)
  • OOB functionality (contains what we need)
  • promising future (what runtime can become standard choice in a year)

Nikita Puzankov

Egor Ivkov

2https://github.com/eadventurous/async-runtimes-cmpComparison of runtimes with sync approach
  • time (lower is better)
Egor Ivkov