This course was created with the
course builder. Create your online course today.
Start now
Create your course
with
Autoplay
Autocomplete
Previous Lesson
Complete and Continue
Parallel processing in Perl
About the course
See the results and what to expect (10:37)
Introduction
The problems (6:52)
The solutions (3:32)
Tasks and Measurements (11:35)
The Hardware and the tools (5:07)
Installation of the Perl modules we use (2:23)
The Fork
Forking skeleton with functions (9:53)
Showing process IDs (8:45)
Showing exit code and common history (8:21)
Forking, random, and seed (5:31)
Forking skeleton without functions (6:07)
Many forks (11:33)
Showing parent process ID (2:15)
Using pstree and htop to look at processes (6:42)
Non-blocking (active) wait using waitpid (8:05)
Non-blocking wait for multiple workers (9:10)
Non-blocking handle multiple tasks with multiple workers (12:27)
Parallel processing
Functions to speed up (3:42)
counter.pl - part 1 (12:34)
counter.pl - part 2 (8:45)
Prepare CSV files for processing, process CSV files (7:12)
Parallel::ForkManager - simple example (5:11)
Returning values using Parallel::ForkManager (4:41)
Process CSV file using Parallel::ForkManager (2:32)
Fetching URLs using Parallel::ForkManager (7:24)
MCE
MCE with map (5:38)
See the results and what to expect
Complete and Continue