Blocking and Non-blocking

This lesson talks about blocking and non-blocking processes.

Your task

You have to read this lesson and report back here when you are done. Press the button once you are finished. No cheating!

Single-threaded applications

For simple programs, such as beginner-level tasksprinting “Hello World”, we often don’t need more than one thread. However, if we were doing something complex, like running the web server that is hosting this very website, we would be dealing with thousands of concurrent users wanting to access our site. Let’s see how that might look if we were ...