Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

This lesson is for members only. Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Hint: You can adjust the default video playback speed in your account settings.
Hint: You can set your subtitle preferences in your account settings.
Sorry! Looks like there’s an issue with video playback 🙁 This might be due to a temporary outage or because of a configuration issue with your browser. Please refer to our video player troubleshooting guide for assistance.

The Producer-Consumer Pipeline: Part 1

In this course, you’re going to write a producer-consumer pipeline. To understand what a producer-consumer pipeline is, image a conveyor belt. On the left you have a producer, and on the right you have a consumer. The producer is going to produce some piece of data and is going to put it on the conveyor belt. When the consumer receives this data, it will do something with it.

Alvaro Formoso on April 2, 2020

Thank you for this useful course, Lee! One question I had after seeing all this videos, is if I am able to use ThreadPools outside if name == ‘main’ module.

For example, in a method of a class to make (for example) 3 or 4 read_sql querys faster.

Thanks!

Become a Member to join the conversation.