PHP NuSoap + XCache
We are currently nearing completion of a project that needs to handle many 1000s of SOAP requests from around the world and have written the SOAP service using NuSOAP instead of the native PHP Soap extensions due to hearing PHP's SOAP extensions weren't all that great…
We have a Linode 720 server set up using Ubuntu 8.04 LTS, Nginx and Xcache but wondering if anyone on here has any enterprise level SOAP experience that they could share with us or some basic pros and cons for going with nusoap or php flavours etc?
Many thanks in advance for ANY thoughts on ANY of the above
Andy
6 Replies
I'd recommend doing some profiling to see if xcache or APC does better… you may be surprised. It would also show you what will happen under load, like unexpectly running out of memory and ending up in swapdeath.
Are you talking about using the JSON extension within PHP? I had seen this but not gone into any depth with it. Will take a fresh look now…
As for Xcache - I have it installed due to fact it seemed to work better in other scenarios / web projects of ine in the past compared to APC but I agree some profiling needs to be done for this specific new project.
Any tips on where there are any SOAP gurus for hire anywhere if we get stuck?
It seems to be many many times faster than the overhead of making complicated (usually overcomplicated) XML envelopes with all the SOAP info in. Although I do understand it can reduce friction between developers etc in some situations.
I'd help you but I'm booked up for the next few months, a good thing!.
Which one are you taking about here?
Probably not built-in but seems to be in most PHP installs.
Via SOAP I can do this:
Client sends soap request with Access id & token to my Soap Server
If user checks out
return data
else
user not allowed
display error
end