We have seen how to achieve parallel task execution in python using multi-threading as in the below-linked post. Let’s see how we can leverage Python Scrapli AsyncIO to achieve similar results. Part1 of scrapli can be found here What is AsyncIO? asyncio is a library to write concurrent code using the async/await syntax. asyncio is used as a foundation…
Month: September 2021
[Practical] Multithreading vs Multiprocessing vs Asynchronous
We have already seen in theory how all of the above differ and where each of them is applicable and useful. In this post, I will try to demonstrate the same concept using practical examples. I could have spun up tens of devices in GNS3/Eve-ng but I figured just using manual delays to simulate the…