Difference between stateless protocol and stateful protocol

Question :

Difference between stateless protocol and stateful 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 protocol are HTTP (Hypertext transfer protocol), UDP ( Use datagram Protocol) & DNS (Domain Name System). In 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 them 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.


CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad