Grokking Concurrency in Python
Vote

0% completed

​

A Decision Framework

When one of Harvest's parsing tasks crashed inside a pool of threads, Harvest ended and lost the results of all eight pages. In a pool of processes, Harvest caught an exception and kept running. What a crash takes down is one of three questions that decide how Harvest should run a piece of work.

Question One: Where Is the Time Spent?

The bottleneck is the part of a job that limits how fast the whole job can finish. For a Harvest step, it is either waiting for something outside the program or running instructions on a CPU

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content