Difference between stateless protocol and state full protocol ?
Question :
Difference between stateless protocol and state full protocol ?
Stateless protocol:
Stateless Protocol is a network protocol in which client send Request to the server and server response back as per the given state. Examples of stateless Server restriction is not needed to keep the server information. In stateless, server and client Are loosely coupled and can act independently. Server design is simple to implement. Server handles transactions in a very quicker way.
Stateful protocol:
stateful protocol is a network protocol in which if client send a request to
The server then it expects some kind of response, in case of no response then it resend the
Request. Examples of stateful protocol is FTP and Telnet. In stateful, a server is required to
Maintain the current state and session information. Server design is comparatively complex
And difficult to implement. Server is slow comparatively to stateless.