Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A stateless system is one where the server is unaware of the state of the client. That is, the server makes no assumptions about what data the client already has or what options are available to the client. In systems where the client state is managed (i.e., a stateful design), this is often handled through session managers, which are server-side systems that track the activity of each client. REST maintains that stateful designs will eventually become over burdened and will hinder scalability.

The SRP HTTP Framework does enforce statelessness, but it also does not offer any tools to make the system stateful. Much of this is how the API developer implements the response to a particular request. Developers can move toward statelessness by avoiding, or minimizing database locks, and returning the resource with meta-data that instructs the client how it can request a state change.

...