Monday 17 November 2014

REST is Stateless service

Advantages of Stateless service
  • Better scaling
    1. No session storage on server
    2. Any server in a cluster can handle any request
    3. All the result pages can safely be cached
  • More reliable
    1.  client can safely re-send a request
  • Better resource reuse
    1. All the result pages can safely be linked to
  • By using REST over HTTP instead of SOAP, we can drastically reduce the overhead of message processing
  • An HTTP server implementation is feasible for a mobile device