Hi Nono,

unfortunately, I'm not an expert in Python development, but it looks like a multithreading approach is the best way to achieve your targets.
If inserting data into the database takes too...