...

/

Stateless and Stateful Systems

Stateless and Stateful Systems

Let's see the difference between stateless and stateful systems.

We can say that a system belongs in one of the two following categories:

  • Stateless systems
  • Stateful systems

Stateless system

A stateless system maintains no state of what happened in the past and performs its capabilities purely based on the inputs we provide to it.

Examples

A contrived stateless system receives a set of numbers as input, calculates their maximum, and returns it as a result. These inputs are either direct or indirect. Direct inputs are inputs that ...