Python Threading Examples - Issues and Caveats

Описание к видео Python Threading Examples - Issues and Caveats

In this video I show a couple of examples implementing some Python multithreading techniques, such as creating, starting and joining threads, daemon threads, locks, and threadsafe queues (this is not really a tutorial on threading - that would be an entire course, but more of a demo of what can go wrong and a common misconception).
My main aim in this video is to show that multithreading (in Python) does *nothing* to improve performance in CPU bound workloads, and hopefully convince you that writing multithreaded code is not something you should just do casually as it is very easy to introduce (often invisible) bugs and is not some kind of performance improving magic bullet.

#mathbyteacademy #python


Code for this Video
================
Available in GitHub blog repo: https://github.com/fbaptiste/python-blog
Direct link: https://tinyurl.com/u6khmz3r

My Python Courses
=================

- Python 3 Fundamentals (introduction to Python)
https://www.udemy.com/course/python3-...

- Python 3 Deep Dive (Part 1 - Functional)
https://www.udemy.com/course/python-3...

- Python 3 Deep Dive (Part 2 - Iteration, Generators)
https://www.udemy.com/course/python-3...

- Python 3 Deep Dive (Part 3 - Hash Maps)
https://www.udemy.com/course/python-3...

- Python 3 Deep Dive (Part 4 - OOP)
https://www.udemy.com/course/python-3...

Комментарии

Информация по комментариям в разработке