Sedang Disiapkan

223377 PHP Script Needs MultiThreads


I have a PHP script that's working but it is way too slow. I need to add multi thread support. Ideally, I would like to multi-thread between 200 - 500 instances of the same script & have it all work together.

The script is working fine, so we can use that existing code & just allow multiple instances to run.

PHP5 & MySQL 5. The script reads a list of domain names from the mysql DB. Then each domain is analyzed for info such as nameservers, google pagerank & alexa rating. The analyzing takes place via public proxies.

The script is working fine, the proxy support is working.. but as I said, It's extremely slow! It takes around 40 seconds to analyze each domain.

If I could multi-thread the script to check say 200 domains every one to two minutes, & load the new data into MySQL, loop & analyze more domains that would be perfect.

Kemahiran: Semua Boleh, MySQL, PHP

Lihat lagi: proxy php, php proxy, php load data, php check proxy, php5 mysql support, add php support, php multi thread, script load, public proxy check script, mysql pagerank script, data proxy php, php rating script mysql, pagerank mysql script, mysql slow, alexa rating, working public proxy, check proxy list, google public data script, script rating php, pagerank code, run php script proxy, alexa script, domain check script, mysql work slow, load php mysql

Tentang Majikan:
( 11 ulasan )

ID Projek: #1969613