Talk

Synchronous asynchrony optimization

  • In Russian

In this talk, Dmitry wants to show the problem of the deceitfulness of simplicity of async/await on the real case, approximate solutions, and profits.

Async/await is very cool and simple. They have been with us for a long time and even natively, but despite being simple and beautiful they hide very interesting pitfalls...

For example, while solving a very interesting problem Dmitry managed to get into the problem of synchronous asynchrony, from which he managed to heroically get out. Now he must share it with the audience.

During this session you will learn about:

  • obvious finding of the problem of synchronous asynchrony in a real problem;
  • surprisingly wrong attempt to solve this problem;
  • heroic speedup ≈ without rewriting on Rust;
  • awkward situation with unhandledRejection flying through try/catch;
  • a couple of useful abstractions.

The targeted audience: pre middle, middle, middle+ developers, and sleepy but cheerful seniors.

  • #async
  • #performance

Speakers

Invited experts

Talks