Mar-02-2018, 07:21 PM
Python provides a lot of support for concurrency: https://docs.python.org/3/library/concurrency.html
I would probably start by using Threads and a concurrent queue; each thread connects to a device and puts its log information on the concurrent queue. A different thread accepts connections from the "appliance" and pulls data from the queue and sends it to the appliance.
I would probably start by using Threads and a concurrent queue; each thread connects to a device and puts its log information on the concurrent queue. A different thread accepts connections from the "appliance" and pulls data from the queue and sends it to the appliance.