• Post Reply Bookmark Topic Watch Topic
  • New Topic

Performance Metrics  RSS feed

 
mo sayed
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Are there any performance issues relating to web services,
e.g. in terms of transit times, serialization/deserialization.
Additionally how do WS compare to other remote method invocation
approaches and is there any metrics to support claims.
Thanks in advance.
regards,
Mo
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes web services are slower than other remote invocation techniques ..like RMI.As webservices are fully build on xml and xml parsing are preety much slower than serialize / deserialize of objects , therefore it quite slower.
But if you want to expose the services so that all types of clients can invoke it then you have to pay this price.

One more thing is the java based xml parsers are quite slower than the parsers which are written in C / C++.So if your client is java based then it might be slower than a similar .Net client.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
java based xml parsers are quite slower than the parsers which are written in C / C++.

Can you cite a real comparison or is this just another "java is slow" bit of programmer folklore?
A casual google search only found hits 5 years old or more.
Bill
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I do not have any data to justify this.But I think the native language are must faster.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!