Hello,
We are constantly parsing lots of large XML files (<3mb) on our server from our partners and using PHP to parse and display the data to the user.
Our problem is however server load. When parsing > 3 feeds at the same time load on the server gets very high.
We are using simplexml to parse and file_get_contents to fetch the XML file.
Just wondering if anyone can suggest a way to reduce this load? I beleive that the load is associated with file_get_contents and not the xml parsing - is there a way of retriving large files using PHP but without the overhead?
Thanks,
Jon.