4
Async Rust
We are so close to building Rust code that handles HTTP requests. However, before we do that, it would be beneficial to really understand async programming in Rust, as the average web framework utilizes async code. However, it must be noted that you do not need to understand async code fully to code web servers in Rust. I have met plenty of web programmers who have built adequate servers who do not know how async code works under the hood.
Feel free to skip this chapter if you are stretched for time or do not want to understand async Rust code at a deeper level. This chapter is isolated, so if you skip it, it will not affect the microservices system that we are building throughout the book.
If you are unsure, I would highly advise ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access