Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

Building a Web Server in Rust – Part 2

41.3K views on YouTube

Join our Rust Live Accelerator waitlist (free Rust Job-Ready Roadmap inside):
https://letsgetrusty.com/join

Let’s Get Rusty is the #1 Rust education & career development platform for engineers who want real-world skills and results. We combine a structured curriculum, industry-grade projects, expert review and feedback, and our Rust recruiter network — to help you master Rust and get hired.

· The ultimate Rust lang tutorial. Follow along as we go through the Rust lang book chapter by chapter.

📝 Get your FREE Rust cheat sheet: https://letsgetrusty.com/cheatsheet

The Rust book: https://doc.rust-lang.org/stable/book/​​

Chapters:
0:00​ Intro
0:45 Simulating a Slow Request
3:06 Using a Thread Pool
3:58 Thread for Each Request
4:44 Finite Number of Threads
5:33 Compiler Driven Development
9:02 Validating the Number of Threads
9:40 Creating Space to Store the Threads
10:51 Worker Struct
13:00 Sending Requests via Channels
16:21 Implementing the execute Method
19:59 Outro

#letsgetrusty​​ #rust​lang​ #tutorial