- Follow along: build a webserver in rust
- install rust and cargo (see: Rustbook install)
- Clone this project
- Cargo run!
- Visit
127.0.0.1:7878
to see a hello message immediately - Try
127.0.0.1:7878/sleep
to checkout what happens when you tell each thread to sleep 5 seconds - Checkout the console to see all the Workers getting jobs!
I loosely documented thoughts throughout my git history. IT is most probably not incredibly useful but I use it as something to go back to when I'm looking at why some choices were made.