Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 3 Current »

The State of a system is the stored information that determines its current status at a certain point in time.

Stateless system

Does not store information about past interactions with the system. So, it’s like the first interaction each time.

class Return{
    String interact(String input) {
        return input; 
    }
}

Other example of stateless system : HTTP (application layer protocol in the TCP/IP model used to transfer information between devices in a network); IP or Internet Protocol (network layer in the TCP/IP model used for sending packets from source to destination).

Statefull system

  • No labels