本文介绍了SOAP 与 XML-RPC 或 REST 的性能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

关于使用 XML-RPC 或 REST 的解决方案的简单性的论点很容易理解,也很难争论.

The arguments about the simplicity of solutions using XML-RPC or REST are easy to understand and hard to argue with.

我也经常听到这样的争论,即 SOAP 开销的增加可能会显着影响已用带宽,甚至可能会影响延迟.我希望看到量化影响的测试结果.有人知道此类信息的良好来源吗?

I have often also heard arguments that the increased overhead of SOAP may significantly impact used bandwidth and possibly even latency. I would like to see the results of a test that quantifies the impact. Any one know a good source for such information?

推荐答案

针对此问题已经进行了一些研究,您可能会发现这些研究很有用.请参阅以下内容:

There are a few studies which have been done regarding this which you might find informative. Please see the following:

MSDN 论坛.

简而言之 - 这些来源中的大多数似乎都同意 SOAP 和 REST 对于通用数据的性能大致相同.然而,一些结果似乎表明,对于二进制数据,REST 实际上可能性能较低.有关更多详细信息,请参阅我链接的论坛中的链接.

In short - most of these sources seem to agree that SOAP and REST are roughly the same performance for general-purpose data. Some results, however, seem to indicate that with binary data, REST may actually be less performant. See the links in the forum I linked for more detail on this.

这篇关于SOAP 与 XML-RPC 或 REST 的性能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 23:33