This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Need for speed  RSS feed

 
faisal mahmood
Ranch Hand
Posts: 349
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Performance wise how is web-services?
I think it would be slower than CORBA or RMI?
Faisal
 
Stephen Graham
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a speed/flexibility trade-off with Web services. There is no doubt. With HTTP and XML, there is a ubiquitous infrastructure upon which Web services can ride. There is a higher likelihood that organizations can get Web services up and running much more quickly than with previous distributed computing technologies.
This is about reach to customers/suppliers and other business partners here, this is not about raw compute performance.
When you consider the use of Web services (coarse-grained) distributed computing, the network latency is the biggest performance consideration. If you are trying to use Web services for fine-grained tight object integration over the Internet, then you may want to completely reconsider your architecture. Even with CORBA/RMI, you are going to have significant performance problems.
So, given the network, particularly the Internet, is a core part of the architecture with any Web services interaction, you need to ask yourself, what percentage of overall performance do I actually have control over?
One interesting side note, because Web services is based on Internet technologies, we will be able to piggy-back on top of a lot of the infrastructure that makes the Web move faster (routers, sprayers, edge of network boxes, etc).
sgg
Originally posted by faisal mahmood:
Hi,
Performance wise how is web-services?
I think it would be slower than CORBA or RMI?
Faisal

 
Andy Rodriguez
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Performance - Depends on your intent - Consider the performance of SOAP over SMTP to RMI ... phew that will be like M$ comparing SUN java pet store app to that of .Net petstore app .. refer to sgg's post on the other thread as well .
Br ,
------------------
My ramblings @
http://javarecon.tripod.com
 
Tiger Scott
Ranch Hand
Posts: 223
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think speed is not the primary consideration in B2B. Ease/convenience of open standards is. Not that it is slow.
Sanjay
 
faisal mahmood
Ranch Hand
Posts: 349
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

For small to mid scale systems this may be okay...(Microsoft world) but if performance is an issue otherwise.
It's not that CPUs get faster everyday but the amount of transaction as increases dramatically. I think the usage growth is faster than hardware improvement.
Faisal
 
Stephen Graham
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
CPU speed is a consideration, but if you do complete performance analysis, most business systems are I/O bound, not cpu bound.
------------------
sgg
 
faisal mahmood
Ranch Hand
Posts: 349
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you mean I/O to be network throughput in transferring SOAP messages? How about the implementation - does it not count?
Faisal
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!