How to run parallel processes?

Leticia Portella
Oct 27, 2017 · 3 min read
We have 3 processes (analysis scripts) that are independents one from another and can run in parallel. The 4th process is a script that depends on the outputs of the first three scripts

Scenario 1: Running 3 processes in parallel

Process1: it takes 10seconds before printing the message
Process2: the print is executed immediately
Process3: the print is executed after 3 seconds
Total time used in the process of the 3 scripts with the results in the order the scripts were ended.

Scenario 2: Running multiple processes in parallel and in sequence

Leticia Portella

Written by

A happy dev, in love with data science and podcaster at Pizza de Dados

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade