NYCPHP Meetup

NYPHP.org

[nycphp-talk] SOAP caching to file or MySQL?

David Roth davidalanroth at gmail.com
Sun Jul 14 18:19:52 EDT 2013


I'm writing an application in PHP which does a SOAP request. But the
problem is that the request is slow at times. It ca take 5-6 seconds to get
a SOAP response sometimes. I've considered caching the data and poll to get
it. But then I wondered what to do with the data once I get it with respect
to performance concerns. It's it better to write the 20 records to a file
or a MySQL TABLE?  I considered MySQL cause it would make the programming
job easier to use it for retrieval, but that's just my personal
preference. Or does it make any difference? The final result will be
displayed on a web page and don't want to keep the short-attention span
user waiting.

Or I should just go to the fair today and not worry about it? :-)

David Roth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20130714/4c5f2334/attachment.html>


More information about the talk mailing list