Stateless protocol (nonfiction): Difference between revisions

From Gnomon Chronicles
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 23: Line 23:
* [[Computer science (nonfiction)]]
* [[Computer science (nonfiction)]]


External links:
== External links ==


* [https://en.wikipedia.org/wiki/Stateless_protocol Stateless protocol]
* [https://en.wikipedia.org/wiki/Stateless_protocol Stateless protocol]

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.

In the News

Fiction cross-reference

Nonfiction cross-reference

External links