1 Hour Dive into Asynchronous Rust

For engineers who want to learn how Asynchronous Rust helps create very high-performance servers with minimal resources.
Github Repo Link: github.com/thebracket/Ardan-1...
Unlock the potential of high-performance server creation with minimal resources through Asynchronous Rust. Experience the comprehensive async environment of Tokio, which drives the top-performing web servers and empowers you to seamlessly support any protocol of your choice.
Learn about:
- The differences between system threads and async, and how they work together.
- What are Tokio’s macros actually doing? Customize your async environment.
- Handling blocking and CPU intensive tasks with system threads while retaining a performant async server for I/O.
- Send data between tasks with channels.
- Use streams to iterate data with minimal impact on the server.
- Use tracing to provide visibility into your server pipeline.
- Tokio + Axum for a tiny web service with dependency injection and high-performance JSON support.
----
Other online courses → www.ardanlabs.com/education/
Other Links:
Website: www.ardanlabs.com/
Github: github.com/ardanlabs
Twitter: / ardanlabs

Пікірлер: 18

  • @karpfenboy
    @karpfenboy7 ай бұрын

    starts at 3:16

  • @karpfenboy
    @karpfenboy7 ай бұрын

    Great presentation with lots of examples, thanks for making this freely available Comments on which techniques to use when were really insightful I also liked that you went over auxiliarly topics like logging/benchmarking

  • @JimmyKal
    @JimmyKal8 ай бұрын

    this is the goto tutorial for tokio, thx for creating it!

  • @ardanlabs

    @ardanlabs

    8 ай бұрын

    Glad you found it valuable!🤓 Checkout our Ultimate Rust Bundle for more in depth on-demand Rust content like this & go from Zero to Hero! Ult Rust Bundle: www.ardanlabs.com/training/individual-on-demand/rust-bundle/

  • @bbkr2063
    @bbkr206324 күн бұрын

    Tokio oneshot channels was gamechanger for my current project. I had no idea that such convenient way exists. Thank you!

  • @gulktroktet
    @gulktroktet5 ай бұрын

    This is such a great pace for a video. Anything interesting I can come back to, and all the info is there to dig deeper on my own. So much compressed into an hour.

  • @ardanlabs

    @ardanlabs

    5 ай бұрын

    We're glad to hear you found this stream so useful! Stay tuned for more streams like this one this year😎

  • @ronniemagatti3342
    @ronniemagatti33423 ай бұрын

    This was a great watch!

  • @dlogankeenan
    @dlogankeenan7 ай бұрын

    This video was great, thank you!

  • @miltoneduardososa378
    @miltoneduardososa3788 ай бұрын

    Great talk, clear examples. Thanks for sharing this!

  • @uchennaofoma4624

    @uchennaofoma4624

    8 ай бұрын

    Yeah. I recently started learning rust (coming from js). This video really helped me understand how the tokio async runtime works in rust

  • @ardanlabs

    @ardanlabs

    8 ай бұрын

    Glad this video helped you! If you are new to Rust & want access to more content like this, checkout our Ultimate Rust Bundle here: www.ardanlabs.com/training/individual-on-demand/rust-bundle/ Within the bundle you will have access to hands-on training videos taking you from “Hello World” to building fast, safe & productive servers. Visit the link to learn more!🤓

  • @jfbarbosaboro
    @jfbarbosaboro7 ай бұрын

    Thank you so much for this lecture! It was very useful to get started with async Rust!

  • @ardanlabs

    @ardanlabs

    7 ай бұрын

    We're glad you found it helpful!🤗

  • @cramhead
    @cramhead8 ай бұрын

    Good talk. Thanks for sharing

  • @ardanlabs

    @ardanlabs

    8 ай бұрын

    Thanks for watching, we're glad you enjoyed it!😁

  • @janedoe6182
    @janedoe61829 ай бұрын

    43:22 thread::sleep() in asynchronous code?

  • @everestshadow

    @everestshadow

    9 ай бұрын

    it's not. explicit thread::spawn making everything inside the closure go outside of (tokio) async context. It's an example of bridging sync/async context though it must be said it's a poor one and can be considered wrong.