kienmarkdo / Telegram-OSINT-for-Cyber-Threat-Intelligence-Analysis

An OSINT tool tailored for comprehensive collection, analysis, and interpretation of cyber threat intelligence from Telegram channels and groups.
2 stars 0 forks source link

Use multiprocessing to optimize translation #29

Closed kienmarkdo closed 7 months ago

kienmarkdo commented 7 months ago

Argostranslate is so slow right now. It translates about 2 messages per second. That won't scale when there are thousands of messages.

kienmarkdo commented 7 months ago

https://www.geeksforgeeks.org/difference-between-multithreading-vs-multiprocessing-in-python/ Note: Multithreading is not supported by Python. But multiprocessing is supported (usage of multiple threads).

kienmarkdo commented 7 months ago

Done