Difference between stateless protocol and statefull protocol?

already exists.

Would you like to merge this question into it?

already exists as an alternate of this question.

Would you like to make it the primary and merge this question into it?

exists and is an alternate of .

stateless Protocol:-
1).When stateless protocol is used between a server and the client, the server does not remember anything. It treats any message from a client as the client's first message and responds with the same effects every time
2). A stateless server does not keeps state between connections.=>So,When you send a request to a stateless server, it does not create any objects that track information regarding your requests. If you "open" something on the server, the server retains no information at all that you have something open. A "close" operation would make no sense, since there would be nothing to close.
3). A stateless system can be seen as a box ,where at any point in time the value of the output(s) depends only on the value of the input(s) after a certain processing time.
4). A stateless protocol does not require the server to retain session information or status about each communications partner for the duration of multiple requests.
5). stateless sessinobean:can not maintain the state,cannot maintain the persistance(data base),onece sutdown machine,we cannot see that data,cannot have the passivate,activate states. ex:atm mini statements.
Example = UDP(User Datagram Protocol) , HTTP, NFS
Statefull Protocol :-
1). Stateful protocol means the server remembers what a client has done before.
2). .A stateful server keeps state between connections.=> when you send a request to a stateful server, it may create some kind of connection object that tracks what information you request. When you send another request, that request operates on the state from the previous request. So you can send a request to "open" something. And then you can send a request to "close" it later. In-between the two requests, that thing is "open" on the server.
3). a stateful system is like a state machine with "memory" as the same set of input(s) value can generate different output(s) depending on the previous input(s) received by the system.
4). a protocol which requires the keeping of internal state is known as a stateful protocol.
5). statefull Protocol :- maintain the state,but cannot maintain the persistance,once we shutdown the system the values stored in local hard disc,can have the passivate and activate states. ex:shopping cardExample = SMB, FTP,Telnet

2 people found this useful

What is HTML stateless protocol?

HTTP is called a stateless protocol because each command is executed independently, without any knowledge of the commands that came before it. This is the main reason that it

What is the difference between protocol and guidelines?

Guidelines are defined as systematically developed statements toassist practitioner and patient decisions about appropriate healthcare for specific clinical circumstances. Pro

What is the difference between service and protocol?

\nProtocol is the special set of rules that end points in a telecommunication connection use when they communicate.\nIn other words Protocol is an agreed-upon format for trans

Difference between protocol and convention?

Protocol is the procedures set down that are to be followed in any given situation; this meaning could also apply to convention. Another meaning for convention is a meeting of

What is differences between protocol and service?

A service is a program on the computer that provides a function for your software, such at the NetBIOS service that connects windows workgroup machines, or the DHCP Client tha

What is the difference between protocol and interface?

An interface refers to a point of interaction between components, whether a piece of hardware such as a graphics card or a piece of software such as an internet browser to f

Why Http known as stateless protocol?

HTTP is called a stateless protocol because each command is executed independently, without any knowledge of the commands that came before it. This is the main reason that

What is meant by stateless protocol?

Commonly, a stateless protocol refers to protocols which do not save session state between connections. An example of stateless protocol is HTTP.

What is the difference between a techniques and protocol?

A protocol is a set of rules which is used by computers to communicate with each other across a network. A protocol is a convention or standard that controls or enables the

Advantages of a stateless protocol for the WWW?

The stateless design simplifies the server design because there is no need to dynamically allocate storage to deal with conversations in progress. If a client dies in mid-tran

Why is HTTP is known As Stateless Protocol?

A stateless protocol refers to protocols which do not save session state between connections. In HTTP it shows this property. So, HTTP also known as stateless protocol. This s

Why HTTP is called a stateless protocol?

Because it does not keep state. When you navigate to a webpage, you send a request to the web server, from an http perspective, the web sever sends the request to you, and you

What is the difference between a port and a protocol?

port as a phone extension, with the computer's IP address being like its phone number. You can call the number (IP address) to talk to the computer, then dial the extension (p