![](/var/ezflow_site/storage/images/archive/2014/20/parallelizing-and-memorizing-python-programs-with-joblib/po-17242-creativ_collection_megapack-11_medien-ccvision-bild_30_11034_der_creativ_collection.png/89752-1-eng-US/PO-17242-Creativ_Collection_Megapack-11_Medien-ccvision-Bild_30_11034_der_Creativ_Collection.png_medium.png)
Parallelizing and memorizing Python programs with Joblib
A Library for Many Jobs
In recent years, new programming concepts have enriched the computer world. Instead of increasing processor speed, the number of processors have grown in many data centers. Parallel processing supports the handling of large amounts of data but also often requires a delicate transition from traditional, sequential procedures to specially adapted methods. The Joblib Python library [1] saves much error-prone programming in typical procedures such as caching and parallelization.
A number of complex tasks come to mind when you think about parallel processing. The use of large data sets, wherein each entry is independent of the other, is an excellent choice for simultaneous processing by many CPUs (Figure 1). Tasks like this are referred to as "embarrassingly" parallel. Where exactly the term comes from is unclear, but it does suggest that converting an algorithm to a parallelized version should not take long.
![](/var/ezflow_site/storage/images/archive/2014/20/parallelizing-and-memorizing-python-programs-with-joblib/figure-1/89756-1-eng-US/Figure-1_large.png)
Experienced developers know, however, that problems can occur in everyday programming practice
...Buy this article as PDF
(incl. VAT)