Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Scalability in web services

 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do I make my web services application scalable? Any tips would be great.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tip #1: Keep your web service stateless

Tip #2: Make your web service asynchronous
 
Jim Bracks
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do I make my web services application scalable? Any tips would be great.



By choosing the right product for exampleSystinet product performs faster than those from Apache Axis and Sun jwsdp.Scalability may vary based on configuration.Run benchmarks that simulate the requirments of your production applications.


Jim.
[ June 15, 2004: Message edited by: Jim Bracks ]
 
J. Acc.
author
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lasse�s tips are great. I�d add a few more:
Tip #3: Design your services with appropriate granularity.
Tip #4: Design your services with clear functional boundaries.

These design characteristics will help you build an SOA consisting of distinct and highly composable services. This will allow you to use specialized services with targeted functionality (and less processing overhead), but it will also let you aggregate your services for larger tasks, when required.

Then, of course, there are the real world considerations. Your SOA�s underlying infrastructure will need to support the distribution pattern you�ve chosen for your Web services, and all of the middleware that may be processing the message flows behind the scenes. Also, there are often security considerations that can affect service design and performance, as well as an SOAs infrastructure requirements.
 
H Rice
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Lasse Koskela:
Tip #1: Keep your web service stateless

Good points. On the stateless point, there are two types of implementations (jaxrpc or stateless ejb). you probably need to weigh on this as well.
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tip #2: Make your web service asynchronous

Asynchronus? Does it mean document style messaging.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Pradeep Bhat:
Asynchronus? Does it mean document style messaging.

Not necessarily. What I meant with asynchronous was that the service replies immediately with an acknowledgement and continues processing the actual service request while the client is waiting or doing something else. When the service request has been processed, the service sends the results to the client with a new web service request.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic