On Sat, 2008-05-24 at 09:55 -0700, Feris wrote: > Hi All, > > I need to decide whether to consume feeds from third party as web services > or just creating my own system with relational MySQL backend. > > Question is, which actually cost more ? Parsing a moderate streaming XML or > creating a mysql connection ? As I read from some sources that creating > initial connection to mysql is very costly. It is almost certainly going to cost more to connect to a remote web service than to connect to a local MySQL database server. Depending on the XML received, it is quite likely parsing that will be heavier than the internal routines for processing the DB's response into an array. Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php