Stateless protocol (nonfiction): Difference between revisions
(Created page with "In computing, a '''stateless protocol''' is a communications protocol in which no information is retained by either sender or receiver: * The sender transmits a packe...") |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
In | In computing, a '''stateless protocol''' is a communications protocol in which neither sender nor the receiver retains information about the other party: | ||
* The sender transmits a packet to the receiver and does not expect an acknowledgment of receipt | * The sender transmits a packet (a ''request'') to the receiver and does not expect an acknowledgment of receipt | ||
* The receiver | * The receiver treats each request as an independent event; the receiver does not retain information about each communications partner from request to request | ||
The receiver is typically a server. The sender may be another server, a web browser, or some system. | |||
A communications protocol which requires keeping of the internal state on the server is known as a | A disadvantage of statelessness is that it may be necessary to include additional information in every request (more work for the sender), and this extra information will need to be interpreted by the receiver (more work for the receiver). | ||
A communications protocol which requires keeping of the internal state on the server is known as a stateful protocol. For example, a TCP connection-oriented session is a 'stateful' connection because both systems maintain information about the session itself during its life. | |||
== In the News == | == In the News == | ||
Line 13: | Line 15: | ||
</gallery> | </gallery> | ||
== Fiction cross | == Fiction cross-reference == | ||
* [[Stateless Protocol (perfume)]] | |||
== Nonfiction cross-reference == | == Nonfiction cross-reference == | ||
External links | * [[Computer science (nonfiction)]] | ||
== External links == | |||
* [https://en.wikipedia.org/wiki/Stateless_protocol Stateless protocol] | * [https://en.wikipedia.org/wiki/Stateless_protocol Stateless protocol] | ||
[[Category:Nonfiction (nonfiction)]] | |||
[[Category: | [[Category:Computer science (nonfiction)]] | ||
[[Category: |
Latest revision as of 04:52, 26 June 2023
In computing, a stateless protocol is a communications protocol in which neither sender nor the receiver retains information about the other party:
- The sender transmits a packet (a request) to the receiver and does not expect an acknowledgment of receipt
- The receiver treats each request as an independent event; the receiver does not retain information about each communications partner from request to request
The receiver is typically a server. The sender may be another server, a web browser, or some system.
A disadvantage of statelessness is that it may be necessary to include additional information in every request (more work for the sender), and this extra information will need to be interpreted by the receiver (more work for the receiver).
A communications protocol which requires keeping of the internal state on the server is known as a stateful protocol. For example, a TCP connection-oriented session is a 'stateful' connection because both systems maintain information about the session itself during its life.