All articles

Use "await" when you really need the results

Posted on

We have seen two or more async function calls in a sequence during our javascript years. While this works fast in local enviroments, they extend runtimes in production environments where these calls bring results from cloud services or remote locations.

Consider the following scenario: You want to fetch some results …

Parellelism made easy using multiprocessing.Pool

Posted on

The multiprocessing Pool class makes it easy to achieve parallel execution. More details can be found in the official Python documentation [1], which is an excellent source that everyone should at least skim through. The Pool class manages your worker process and makes it easy distribute workload. This post shows …