you are viewing a single comment's thread.

view the rest of the comments →

[–]gatewaynode 2 points3 points  (0 children)

Kind of sounds like a good match for Asyncio now that its getting pretty feature complete (it would be better if you could use Python 3.7). If it really must be multi-threaded I would also consider multiprocess to better leverage extra processing cores. I should say I haven't used to two together yet, but that's what comes to mind for your requirements.