SOAP性能 - 真的很慢? [英] SOAP Performance - Really so slow ?

查看:443
本文介绍了SOAP性能 - 真的很慢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

>从我对SOAP的简单性能测试来看,它似乎比二进制对象请求协议(如RMI,IIOP或

SimpleORB)慢了大约10美元。

这也是你的体验吗?

>From my simple performance tests of SOAP it seems that it is about ten
times slower than binary object request protocols such as RMI, IIOP or
SimpleORB.
Is this also YOUR experience ?

推荐答案

我想,每个人都会有同样的经历,因为使用SOAP

意味着您将以二进制模式获得更多数据。如果数据大小比b $ b大,那么这些数据的网络传输速度会很慢......


但是,SOAP的味道是与不同系统的互操作性(

例如,您可以使用Java编写Web服务,使用.NET编写客户端,或者反对
$ b $反之亦然。

如果可互操作性不是您的目标那么最好使用二进制

协议...


-

Vadym Stetsyak又名Vadmyst
http://vadmyst.blogspot.com

< fr ** ********@gmail.com>在消息中写道

news:11 ********************** @ g47g2000cwa.googlegr oups.com ...
I think, that everybody will have the same experience, because using SOAP
means that you will get more data then in binary mode. And if data size is
larger then network transfer of this data will be slow...

However, the flavor of SOAP is interoperability with different systems (
e.g. you can have web service written in Java and clients on .NET or vice
versa ).
If interoprability is not your goal then it is better to use binary
protocols...

--
Vadym Stetsyak aka Vadmyst
http://vadmyst.blogspot.com
<fr**********@gmail.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
从我对SOAP的简单性能测试来看,它似乎比二进制对象请求协议(如RMI,IIOP或
From my simple performance tests of SOAP it seems that it is about ten


> SimpleORB。
这也是你的体验吗?


times slower than binary object request protocols such as RMI, IIOP or
SimpleORB.
Is this also YOUR experience ?



....更不用说序列化/反序列化会更慢,

和服务器端请求的路由将会慢得多。


正如Vadym所说,SOAP(Web服务)给你的是互操作性:

选择为您的客户使用各种技术,无论是现在还是未来的




二进制协议肯定更快,但它们锁定你永远拥有一个

..NET服务器和.NET客户端....

....not to mention that serialization / deserialization will be slower,
and the routing of the request on the server side will be much slower.

As Vadym says, what SOAP (Web Services) give you is interoperability:
the option to use various technologies for your clients, now or in the
future.

Binary protocols are definitely faster, but they lock you into having a
..NET server and .NET clients forever....


如果你想要的优势互操作性和表现一个

二进制协议,然后J-Integra就是解决方案。 J-Integra提供了.NET,Java,COM和Corba应用程序之间的互操作性
,而没有Web服务的开销。以下白皮书

总结了使用J-Integra与Web的性能分析

Java .NET互操作服务...

http://j-integra.intrinsyc.com/pdfs/...ce_summary。 pdf


Shane Sauer

J-Integra互操作性解决方案
http://j-integra.intrinsyc.com/

用于java,corba,com和amp的高性能互操作中间件; .net

If you want the advantages of interoperability AND the performance of a
binary protocol, then J-Integra is the solution. J-Integra offers
interoperability between .NET, Java, COM, and Corba applications
without the overhead of Web Services. The following whitepaper
summarizes a performance analysis of using J-Integra versus Web
Services for Java .NET interop...

http://j-integra.intrinsyc.com/pdfs/...ce_summary.pdf

Shane Sauer
J-Integra Interoperability Solutions
http://j-integra.intrinsyc.com/
high performance interop middleware for java, corba, com & .net


这篇关于SOAP性能 - 真的很慢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆