Stateless Architecture

A stateful server retains client information (state) between requests. The problem is that the same server must receive all requests coming from the same client. Most load balancers include sticky sessions that may be used for this. But this increases the overhead. This method makes it considerably more difficult to add or remove servers. In addition, managing server failures is difficult.

When a user signs in to a stateless system, a token is returned to the client. The client’s storage is where this token is kept. Then, each request the user makes includes this token. We cross-reference…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Zaid Alissa Almaliki

Founder, Principal Data Engineer and Cloud Architect Consultant in DataAkkadian.