Locked learning resources

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

Unlock This Lesson

Locked learning resources

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

Unlock This Lesson

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.

Avatar image for Alvaro Formoso

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.