View Single Post
Old 12-04-2004, 12:46 AM  
VideoJ
Confirmed User
 
Join Date: Aug 2002
Location: S. Florida
Posts: 750
Quote:
Originally posted by Crypt

IE: Fetch 1M urls daily from a SE, and post to them daily.

Which one will be the more fast?

php interface with C and multi-threads?
php interface with curl ?
php only ?

If your reply is php only, apply to mcdonald.
Your problem has nothing to do with the performance of the language and everything to do with getting as many http requests going at the same time. i can think of at least 2 ways i can do this php only, that would be as fast as the c/multithread version. And a lot simplier to debug and support as well.

There are problem domains where c/c++ is a (much) better performer, for example the forex application I'm develoiping now, but for most web work, it's a wash.
__________________
Somebody stole my damn signture...
VideoJ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote