Saturday, May 19, 2012

Why to go for Rest Services


When should we go for Rest Services? How does it help us in scaling the application? 

Yes .Rest Servives provides a better option to handle a complex application where we expect heavy load and we expect continuously addition of components.

Reasons to go with Rest Services are :
  • Simple.
  • We can deploy the services to any remote location so that load on the server will be reduced.
  • If we find that a specific services are consumed heavily we can distribute those services to a different server.We may not nead to use load balancer.
  •  You can make good use of HTTP cache and proxy server to help you handle high load.
  • It helps you organize even a very complex application into simple resources.
  • It makes it easy for new clients to use your application
  •  It makes it easy for new clients to use your application, even if you haven't designed it specifically for them  probably, because they weren't around when you created your app.
  • Also, because REST relies on the semantics of HTTP, requests for data (GET requests) can be cached.

No comments:

Post a Comment