Optimizing resource utilization of an asynchronous pipeline using resource-based throttling
In the previous post, we introduced the concept of creating an asynchronous pipeline using the asyncio module to tackle a computational problem . One of the potential pitfalls of using an asynchronous pipeline for a non-trivial problem is that each call to an asynchronous function results in a new addition to the asynchronous equivalent of the "stack". In a traditional synchronous program, the…