Skip to Content
Python Advanced: Code That Scales Past Your Own Laptop
Advanced
0 likes
Courses
Python Advanced: Code That Scales Past Your Own Laptop

Check Yourself: Doing More Than One Thing at a Time

Five scenario questions on threads, processes and asyncio. If you miss more than one, go back to the two lessons.

Course content

Sign in to save your progress.

Course Home
1. A script makes 50 slow network requests one after another. Which tool is the simplest way to speed it up with normal blocking libraries?
3. Your async function calls time.sleep(1) and requests.get(). What happens to the other tasks?
4. You start 5,000 requests with asyncio.gather and the supplier starts refusing connections. What should you add?
5. Your ProcessPoolExecutor script starts a flood of processes on Windows. What is missing?

About

Five scenario questions on threads, processes and asyncio. If you miss more than one, go back to the two lessons.

Duration
5 min
Last update
09/06/2026
Was this helpful?
​ 0 ​ 0

Comments (0)

Sign in to comment

No comments yet.