-
Notifications
You must be signed in to change notification settings - Fork 155
Explain differences/advantages of SOAP vs. REST #3
Comments
Maybe this video could answer your question: http://www.youtube.com/watch?v=v3OMEAU_4HI Rest is small and lightweight and you can save some bandwidth using rest. there is no overhead like with soap. |
Of course SOAP is some kind of old fanshioned ;) |
Thanks Jan! I was wondering, more specifically in the case of Amazon's Product API – maybe you've tested both on their API, is REST faster as well on this particular "real-world" case? Thanks! |
I've tested both versions but without any stopwatch ;) What i defenitly can say is that the memory consumption with the REST Version is very small compared to the soap version. You also get back an XML with REST which could be used in more different ways like the SOAP Response. But it would be interesting to test the speed as well. |
On my NAS-Server: SOAP Request (1079936 Bytes Memory): 0.8582 Seconds to complete With the same Search Request: object(ApaiIO\Operations\Search)#4 (1) { |
For example, is one faster than the other?
Thanks!
The text was updated successfully, but these errors were encountered: