Concurrent and Parallel Programming in Python
Lập trình Đồng thời và Song song trong Python
Bạn sẽ học được gì
Yêu cầu
Đối tượng phù hợp
Nội dung khóa học
Giới thiệu khóa học
In this course you'll learn how to create multi-threaded, asynchronous, and multi-process programs in Python, so that you can make your programs run even faster.
In applications communicating with other resources, a lot of time is spent just waiting for information to be passed from one place to another. You'll learn how to use multi-threading as well as asynchronous programming to speed up programs that are heavily bottlenecked by IO operations.
We'll go through an introduction first of where potential speed bottlenecks come from as well as how we could solve these issues, and then we'll dive directly into the technical content and build out a multi-threaded program together that grabs data from the internet, parses, and saves it into a local database.
Other programs may be more heavily affected by CPU limitations. We'll also learn how to implement multiprocessing in Python, the library that lets us use multiple CPUs in our Python code. With this we'll be able to spread our workload over all the cores available on the machine we're using.
Finally, we'll also look to combine both elements, taking a look at how we can use multiprocessing together with asynchronous programming to get the most benefit for yourself, maximizing your use of CPU resources and minimizing time spent siting idle waiting for IO response.
You can find the lecture code in the GitHub repository linked in the first lesson.
Khóa học liên quan
Khám phá thêm các khoá học cùng chủ đề
Lập trình Đa luồng, Đồng thời và Tính toán Song song trong Java
Holczer Balazs
Ultimate C++: Từ C++20 Cơ Bản Hiện Đại đến Đa Luồng Nâng Cao
RougeNeuron Academy
Lập trình Đa luồng và Xử lý Đồng thời Hiệu quả trong Java với Executors
Arun Kumar
Khóa học chuyên sâu về Lập trình Đa luồng và Song song trong Java
Cosmin Ionita
Khóa Học Python Toàn Diện: Từ Con Số 0 Đến Chuyên Gia
Jose Portilla
Machine Learning A-Z: AI, Python & R + Giải thưởng ChatGPT [2026]
Kirill Eremenko
Lập trình Python để tự động hóa những việc nhàm chán
Al Sweigart
Khóa Học Cấp Tốc Python cho Khoa Học Dữ Liệu và Máy Học
Jose Portilla
Khóa Học Khoa Học Dữ Liệu: Bootcamp Khoa Học Dữ Liệu Toàn Diện 2026
365 Careers
Deep Learning A-Z 2026: Mạng Nơ-ron, AI & Giải thưởng ChatGPT
Kirill Eremenko
Machine Learning & Deep Learning với Python & R
Start-Tech Academy