Anidazen Posted September 17, 2006 Share Posted September 17, 2006 I provide a service that involves looking up 10+ websites and parsing them in real time.I really can't wait for 10 sites to load one after the other. Is it possible to load all 10 at once with PHP, or is that beyond the boundaries of what can be achieved?If it *is* beyond PHP's capability, what language/technology would I need to use? Quote Link to comment https://forums.phpfreaks.com/topic/21062-is-this-possible-within-php-if-not-what-technology-do-i-need/ Share on other sites More sharing options...
redarrow Posted September 17, 2006 Share Posted September 17, 2006 [quote]I provide a service that involves looking up 10+ websites and parsing them in real time.[/quote]how are you doing it know please provide an example as there meny ways. Quote Link to comment https://forums.phpfreaks.com/topic/21062-is-this-possible-within-php-if-not-what-technology-do-i-need/#findComment-93515 Share on other sites More sharing options...
Anidazen Posted September 17, 2006 Author Share Posted September 17, 2006 [quote author=redarrow link=topic=108392.msg436041#msg436041 date=1158504815]how are you doing it know please provide an example as there meny ways.[/quote]I am going to each site, opening a CURL connection, retrieving the site, and then parsing it. Quote Link to comment https://forums.phpfreaks.com/topic/21062-is-this-possible-within-php-if-not-what-technology-do-i-need/#findComment-93525 Share on other sites More sharing options...
redarrow Posted September 17, 2006 Share Posted September 17, 2006 Well if you got large bandwidth no problam otherwise no advise sorry. Quote Link to comment https://forums.phpfreaks.com/topic/21062-is-this-possible-within-php-if-not-what-technology-do-i-need/#findComment-93528 Share on other sites More sharing options...
Daniel0 Posted September 17, 2006 Share Posted September 17, 2006 You can't do more than one thing at a time, that goes for all the other languages as well. Quote Link to comment https://forums.phpfreaks.com/topic/21062-is-this-possible-within-php-if-not-what-technology-do-i-need/#findComment-93529 Share on other sites More sharing options...
Anidazen Posted September 17, 2006 Author Share Posted September 17, 2006 [quote author=Daniel0 link=topic=108392.msg436055#msg436055 date=1158505997]You can't do more than one thing at a time, that goes for all the other languages as well.[/quote]Surely there must be some method. My desktop computer can look up 200 websites simultaneously.There's absolutely no technology that can avoid the script stopping and standing around waiting for each and every site? Quote Link to comment https://forums.phpfreaks.com/topic/21062-is-this-possible-within-php-if-not-what-technology-do-i-need/#findComment-93562 Share on other sites More sharing options...
redarrow Posted September 17, 2006 Share Posted September 17, 2006 the larger the bandwidth the faster the pages you get and thats it ok. Quote Link to comment https://forums.phpfreaks.com/topic/21062-is-this-possible-within-php-if-not-what-technology-do-i-need/#findComment-93564 Share on other sites More sharing options...
Wintergreen Posted September 17, 2006 Share Posted September 17, 2006 My only advice would be to find some way of caching the sites, unless they are being updated very quickly and you have to have the latest info from them. Then you can just recache them every few hours or something along those lines. Quote Link to comment https://forums.phpfreaks.com/topic/21062-is-this-possible-within-php-if-not-what-technology-do-i-need/#findComment-93570 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.