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.
1 stars 0 forks source link

Optimization: Improve IOC extraction efficiency using parallel processing #25

Closed kienmarkdo closed 6 months ago

kienmarkdo commented 6 months ago

IOC extractor is currently very inefficient as it is checking EVERY SINGLE MESSAGE against MULTIPLE Regex patterns, each pattern belonging to an IOC.

This should be sped up.

Attempted solutions

So, use parallel processing.

kienmarkdo commented 6 months ago

Closing as parallel processing won't improve the performance at all

https://stackoverflow.com/questions/9984288/could-threading-or-multiprocessing-improve-performance-when-analyzing-a-single-s

https://stackoverflow.com/questions/18263285/python-compiling-regexes-in-parallel