Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 02-03-2006, 09:55 PM   #1
Member (7 bit)
 
Join Date: Dec 2005
Posts: 87
Spider in PHP

Has anyone ever coded a spider before? I made a simple one in Java but I need something to handle more volume. I was reading on PHP.net where cUrl can process 2,000 urls a minute. I thought that would be perfect but I am getting only one url a second. I tested the time by seeing how long a page loads in a browser, and by putting a 10 different urls in my script and seeing how long it takes.

It looks like the programmer is running 50 different instances of the script at the same time. I am going to try this out and see what happens. I just wanted to know if anyone had similar experience.
hartken is offline   Reply With Quote
Old 02-23-2006, 01:11 AM   #2
Member (7 bit)
 
Join Date: Dec 2005
Posts: 87
For everyone's information cUrl works great. I changed my loop around a little bit and it is really fast. I also added a list of anonymous proxy servers which it processes to prevent getting booted from sites. It works very well.
hartken is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 05:04 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2