Increasing throughput in a python script

后端 未结 4 677
傲寒
傲寒 2021-01-22 02:23

I\'m processing a list of thousands of domain names from a DNSBL through dig, creating a CSV of URLs and IPs. This is a very time-consuming process that can take several hours.

4条回答
  •  误落风尘
    2021-01-22 02:25

    In order to keep pace with the server updates, one must take less than 15 minutes to execute. Does your script take 15 minutes to run? If it doesn't take 15 minutes, you're done!

    I would investigate caching and diffs from previous runs in order to increase performance.

提交回复
热议问题