Hi,
I´m designing a solution to integrate two servers througth a WAN, and a limitation to this project is that I has a "not so good" download rate and a "bad" upload rate!!!
Who of this, JMS (over IBM MQSeries), SOAP or RMI, would me provides a better performance on this conditions?
-
JMS, SOAP, RMI and a low transport rate (8 messages)
- Posted by: Charles Costa
- Posted on: December 05 2002 10:07 EST
Threaded Messages (8)
- JMS, SOAP, RMI and a low transport rate by Lasse Koskela on December 09 2002 03:53 EST
- JMS, SOAP, RMI and a low transport rate by Scott Taylor on December 09 2002 08:32 EST
- JMS, SOAP, RMI and a low transport rate by Brian Lee on December 13 2002 16:56 EST
- JMS, SOAP, RMI and a low transport rate by Cameron Purdy on December 10 2002 16:19 EST
- JMS, SOAP, RMI and a low transport rate by Vladimir Zelenko on December 10 2002 16:34 EST
- JMS, SOAP, RMI and a low transport rate by Charles Costa on December 11 2002 09:14 EST
-
JMS, SOAP, RMI and a low transport rate by Cameron Purdy on December 11 2002 12:12 EST
- SOAP vs RMI performance by Andre Mesarovic on December 13 2002 11:05 EST
-
JMS, SOAP, RMI and a low transport rate by Cameron Purdy on December 11 2002 12:12 EST
- JMS, SOAP, RMI and a low transport rate by Charles Costa on December 11 2002 09:14 EST
-
JMS, SOAP, RMI and a low transport rate[ Go to top ]
- Posted by: Lasse Koskela
- Posted on: December 09 2002 03:53 EST
- in response to Charles Costa
First of all, you're comparing two fundamentally different integration methods here, namely asynchronous (JMS) and synchronous (SOAP/RMI, which are basically "remote procedure call" technologies).
Asynchronous messaging is traditionally related to higher performance, but if you need synchronous messaging and must select RPC, then RMI is absolutely more performant as it's pure Java, unlike SOAP. -
JMS, SOAP, RMI and a low transport rate[ Go to top ]
- Posted by: Scott Taylor
- Posted on: December 09 2002 08:32 EST
- in response to Lasse Koskela
Going with an RMI based solution you are limited to Java. If you go with a SOAP interface you have an XML abstraction that allows you to implement the client in any language. -
JMS, SOAP, RMI and a low transport rate[ Go to top ]
- Posted by: Brian Lee
- Posted on: December 13 2002 16:56 EST
- in response to Lasse Koskela
SOAP allows for async. -
JMS, SOAP, RMI and a low transport rate[ Go to top ]
- Posted by: Cameron Purdy
- Posted on: December 10 2002 16:19 EST
- in response to Charles Costa
Use SOAP but make sure you have a GZIP compression filter in place.
Peace,
Cameron Purdy
Tangosol, Inc.
Coherence: Easily share live data across a cluster! -
JMS, SOAP, RMI and a low transport rate[ Go to top ]
- Posted by: Vladimir Zelenko
- Posted on: December 10 2002 16:34 EST
- in response to Charles Costa
What are your limitations:
Development Language (technology)?
Platform?
Time Frame?
System Flexibility?
Answer these, and your question will be easier to answer. -
JMS, SOAP, RMI and a low transport rate[ Go to top ]
- Posted by: Charles Costa
- Posted on: December 11 2002 09:14 EST
- in response to Vladimir Zelenko
I will try to respond you:
Development Language: Java and VB 6.0
Plataform: Server A is NT, Server B is a Unix flavor
Time Frame: what is it?
System Flexibility: The architecture choice will have to allow scalability.
Thank you. -
JMS, SOAP, RMI and a low transport rate[ Go to top ]
- Posted by: Cameron Purdy
- Posted on: December 11 2002 12:12 EST
- in response to Charles Costa
Java and VB 6.0
With VB 6, you have a lot of options through .NET. You can easily make web services with .NET that are exposed as COM objects for VB 6 code, for example, or you can use ja.net or jnbridge to call into Java directly from VB 6 (again, by exposing the .NET classes as COM objects to VB 6).
Peace,
Cameron Purdy
Tangosol, Inc.
Coherence: Easily share live data across a cluster! -
SOAP vs RMI performance[ Go to top ]
- Posted by: Andre Mesarovic
- Posted on: December 13 2002 11:05 EST
- in response to Cameron Purdy
SOAP is certainly going to be a slow(er) option. How much slower? Prototype and benchmark a realistic version of your app. There's a very interesting detailed PDF paper called "Latency Performance of SOAP Implementations" detailing SOAP vs other protocols performance. It claims that SOAP is orders of magnitude slower thatn RMI, 40 to 200 times depending on type of call (args, no args, type of args, etc.).
Article conclusion:
One large source of inefficiency in SOAP is the use of multiple system calls to send one logical message. Several ways to prevent this are discussed in the experimental results. Another source of inefficiency in SOAP is the XML pars-ing and formatting time. Even for a SOAP call that does nothing, XML processing accounts for about 75% of the processing time when network delays are discounted.
See:
1. Latency Performance of SOAP Implementations: http://www.cse.ogi.edu/~wuchang/cse581_winter2002/papers/p2p-p2pws02-soap.pdf
2. Fat Protocols: http://www.xml.com/pub/a/2002/01/16/deviant.html