Easily Parallelize Commands in Linux (Multiprocessing)

A while ago I created a script in Python that would automatically find out the number of vCPUs on a computer. read a file which is supposed to list commands on each line. execute each command on its own process, and running only the number of processes as there are…

Read this article

Python Multithreading - You Could Be Wasting Time

Python is an excellent scripting language that seems especially suitable for Linux applications. You may have heard that python has multithreading support, which is true, and could dramatically improve your application's performance as demonstrated by running the following two examples below, which are trying to simulate connecting to 4 different…

Read this article