concept parallelization in category data

appears as: parallelization
Mastering Large Datasets with Python: Parallelize and Distribute Your Python Code

This is an excerpt from Manning's book Mastering Large Datasets with Python: Parallelize and Distribute Your Python Code.

In this book, you’ll learn a style of programming that makes parallelization easy. You’ll learn how to write scalable, parallel code that will work just as well on one machine as it will on thousands. You’ll learn how to

2.4.1. Problems of parallelization

Parallelization is an effective way to speed up our programs but may come with a few problems. Earlier in this chapter, I named three. How many can you remember, and what are they?

It’s worth taking a second to look at how this would be depicted visually. We’ll look first at what happens when we attempt to do parallelization with state, then at what happens without it. To start, let’s recall figure 2.8 (as duplicated in figure 2.10).