Udemy – Asynchronous Programming with Python – Write, Test, and Debug Robust Asynchronous Code
English | Size: 235.31 MB
In this course, we will look at using asynchronous programming in Python: the options, pitfalls, and best practices. We start with multi-threading, which is particularly useful when there is a lot of waiting, e.g. for HTTP requests or disk access. With multi-threading, you can start many requests in quick succession and then wait for all of them to complete at once. Next, the course will show you how to write your code in a thread-safe manner, and how to use it risk-free. Further, it covers Python’s global interpreter lock, which prevents a lot of serious problems in Python but also stops you from running threads in parallel.