Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SOAP webservice performance  RSS feed

 
Nari Thota
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Code Ranchers,

We have an webservice in our application which is receiving SOAP Messages from Client. Currently we are having 10 soap clients which are calling this webservice. We are using this webservice as Message Receiver and we are pushing all the received messages to an internal queue.

We would like to know that if we increase soap client count to 100 and if all soap clients are running, is any delay will occur in receiving the SOAP messages. And if one client is sending rapid amount of data say 1000 messages per second, will this client effect other client performance? Is it a good idea to have Webservice for each client?


Thanks & Regards
Naresh
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

Is it a good idea to have Webservice for each client?

Not quite sure what you mean; earlier it sounded like all clients were using the same WS?

There are so many variables involved in scalability that the best way to find out is to do some load testing. You can either write a client that starts 10 or so threads sending SOAP requests as fats as possible, or use a tool like SOAPUI.

And if one client is sending rapid amount of data say 1000 messages per second

If a client can send that many requests per second, that would already be no mean feat. A server able to process that many (which presumably involves accessing at least one external system like a DB) would be very impressive indeed. Not at all impossible, of course, but my gut feeling is you would have to devote some serious time and effort into optimizing the various parts of the system, and may still have to resort to multiple servers.
 
E Armitage
Rancher
Posts: 989
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Load test it and see what happens. Also if the delays are in reading the messages off the queue then giving different clients different endpoints wont help if the endpoints all pour into one queue.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!