473,763 Members | 3,910 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SOAP Performance - Really so slow ?

>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 ?

Nov 28 '05 #1
52 5809
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 interoperabilit y 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**********@g mail.com> wrote in message
news:11******** **************@ g47g2000cwa.goo glegroups.com.. .
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 ?

Nov 28 '05 #2
....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 interoperabilit y:
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....

Nov 28 '05 #3
If you want the advantages of interoperabilit y AND the performance of a
binary protocol, then J-Integra is the solution. J-Integra offers
interoperabilit y 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 Interoperabilit y Solutions
http://j-integra.intrinsyc.com/
high performance interop middleware for java, corba, com & .net

Nov 28 '05 #4
In article <11************ **********@g47g 2000cwa.googleg roups.com>,
fr**********@gm ail.com wrote:
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 ?


We had such problems at one point, then realized that we were doing a
SOAP call for simple data accessors. Once we bundled up the calls to be
somewhat higher level - returning whole collections of local objects,
for example, the overhead dropped to where we were willing to use SOAP.

If you are doing something very simple, RMI is going to just scream by
comparison to SOAP.

Scott

--
Scott Ellsworth
sc***@alodar.no spam.com
Java and database consulting for the life sciences
Nov 28 '05 #5
On 28 Nov 2005 12:06:06 -0800, fr**********@gm ail.com wrote, quoted or
indirectly quoted someone who said :
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 ?


Just consider what goes down the wire for a
SOAP int.

<sometag>1234 5</sometag> = 24 chars.

vs two binary bytes.

--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
Nov 28 '05 #6
It's always the same: "Industry Standards" are propagated, regardless
of actual performance or suitability. Just because SOAP is the hype,
all major vendors seem to promote it, without even thinking about
alternatives... .
Publishing a "custom" client class library (for all major programming
languages) instead of WSDL would provide a tenfold better performance.
I wonder when the anti-SOAP backlash will happen....

Nov 28 '05 #7
fr**********@gm ail.com wrote:
It's always the same: "Industry Standards" are propagated, regardless
of actual performance or suitability. Just because SOAP is the hype,
all major vendors seem to promote it, without even thinking about
alternatives... .
Publishing a "custom" client class library (for all major programming
languages) instead of WSDL would provide a tenfold better performance.
I wonder when the anti-SOAP backlash will happen....


sure a custom or lightweight standard would give much higher
performance, but then we run into all kinds of problem areas:

technology - .net apps talking to mainframes...
Platform mapping - endianness
Language mapping - Java int is signed 32 bits, C++ has un/signed 1/2/4
bits depending upon complier.
etc...
All of these areas have been addressed in various ways by the various
comms standards: DCOM, CORBA, RMI, SOAP, etc..

Hell, most of the custom lightweight standards I've seen go over TCP/IP,
yet there are times when its preferable for sending data over raw UPD
sockets (as I've had to do in real time Telecoms apps).

What this boils down to, is that there is no 'Right' or 'OneTrue' way.

Each application needs to chose the right distributed technology for its
own characteristics .

Soap allows multiple different technologies, languages, platforms and
environments to communicate via a neutral 'self describing' means - but
this comes with a price - as you say slow performance.

but keep in mind, this slow performance may not actually be the bottle
neck within the system, so 'curing' it would be a false victory.
Andrew
Nov 29 '05 #8
j-*************** @intrinsyc.com wrote:
If you want the advantages of interoperabilit y AND the performance of a
binary protocol, then J-Integra is the solution. J-Integra offers
interoperabilit y 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 Interoperabilit y Solutions
http://j-integra.intrinsyc.com/
high performance interop middleware for java, corba, com & .net


or there's ICE - http://www.zeroc.com/performance/index.html

which has the benefits of Corba without the rubbish and is highly
efficient too.

Andrew
Nov 29 '05 #9
Bruce Wood wrote:

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


Really? Actually I think binary protocols were used a long time before
..Net was invented.
Nov 29 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
4005
by: Scott | last post by:
I have a customer that had developed an Access97 application to track their business information. The application grew significantly and they used the Upsizing Wizard to move the tables to SQL 2000. Of course there were no modifications made to the queries and they noticed significant performance issues. They recently upgraded the application to Access XP expecting the newer version to provide performance benefits and now queries take...
24
2790
by: Bob Alston | last post by:
Most of my Access database implementations have been fairly small in terms of data volume and number of concurrent users. So far I haven't had performance issues to worry about. <knock on wood> But I am curious about what techniques those of you who have done higher volume access implementations use to ensure high performance of the database in a multi-user 100mbps LAN implementation??? Thanks
8
2761
by: Jack | last post by:
When I try TooFPy with the SOAP and XML-RPC sample client code provided in TooFPy tutorials, a log entry shows up quickly on web server log window, but it takes a long time (5 seconds or longer) for the client to output a "Hello you." It seems like the web server is fast because the log entry shows immieidately on web server console. But it takes Python XML/SOAP parser a long time to parse the extremely simple result. If so, wouldn't this...
5
3075
by: =?Utf-8?B?TWFyaw==?= | last post by:
Hi... I've got a .Net client to a soap service that works for the most part, but there are a couple of things I'd like to improve: 1) the first request to the client wrapper always takes 12-15 seconds even though the web server shows < a half second spent on the request. What takes so much time for the client wrapper to warm up? All subsequent requests, even to the same method, take the half second.
0
9563
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10144
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9997
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8821
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6642
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5405
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3917
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3522
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2793
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.