[go: nahoru, domu]

This page allows you to examine the variables generated by the Edit Filter for an individual change.

Variables generated for this change

VariableValue
Name of the user account (user_name)
'202.3.75.70'
Page ID (page_id)
479753
Page namespace (page_namespace)
0
Page title without namespace (page_title)
'Stateless protocol'
Full page title (page_prefixedtitle)
'Stateless protocol'
Action (action)
'edit'
Edit summary/reason (summary)
'/* Advantages and disadvantages */'
Whether or not the edit is marked as minor (no longer in use) (minor_edit)
false
Old page wikitext, before the edit (old_wikitext)
'In computing, a '''stateless protocol''' is a [[communications protocol]] that treats each request as an independent transaction that is unrelated to any previous request so that the communication consists of independent pairs of requests and responses. A stateless protocol does not require the [[server (computing)|server]] to retain [[session (computer science)|session]] information or status about each communications partner for the duration of multiple requests. In contrast, a protocol which requires the keeping of internal state is known as a [[stateful]] protocol. Examples of stateless protocols include the [[Internet Protocol]] (IP) which is the foundation for the [[Internet]], and the [[Hypertext Transfer Protocol]] (HTTP) which is the foundation of data communication for the [[World Wide Web]]. ==Advantages and disadvantages== 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-transaction, no part of the system needs to be responsible for cleaning the present state of the server. A disadvantage of statelessness is that it may be necessary to include additional information in every request, and this extra information will need to be interpreted by the server. ==Examples== An example of a stateless protocol is [[HTTP]].<ref>http://www.w3.org/Protocols/rfc2616/rfc2616.html</ref> The protocol provides no means of storing a user's data between requests. Contrast this with a traditional [[File Transfer Protocol|FTP]] server that conducts an interactive session with the user. During the session, a user is provided a means to be authenticated and set various variables (working directory, transfer mode), all stored on the server as part of the user's state. == Stacking of stateless and stateful protocol layers == There can be complex interactions between stateful and stateless protocols among different protocol layers. For example, HTTP is an example of a stateless protocol layered on top of [[TCP]], a stateful protocol, which is layered on top of [[Internet Protocol|IP]], another stateless protocol, which is routed on a network that employs [[BGP]], another stateful protocol, to direct the IP packets riding on the network. This stacking of layers continues even above HTTP. As a work-around for the lack of a session layer in HTTP, [[HTTP server]]s implement various [[Http_session#Web_server_session_management|session management]] methods,<ref>{{cite web | accessdate = 2011-04-12 | location = http://cookiebits.com/ | publisher = C cookie bits | title = session management methods reviewed | quote = The following material is intended to introduce the reader to the various techniques that developers have used to implement session tracking on the Web. The main operational characteristics of each method are mentioned in addition to the shortcomings that have been observed in usage. Additional information on session management can be found by searching the Internet. […] | url = }}</ref> typically utilizing a unique identifier in a [[HTTP cookie|cookie]] or parameter that allows the server to track requests originating from the same client, and effectively creating a stateful protocol on top of HTTP. == See also == * [[Soft state]] ==References== <references/> *{{FOLDOC}} <!--Interwikies--> <!--Categories--> [[Category:Servers (computing)]] [[Category:Network protocols]] {{network-stub}} [[ar:بروتوكول عديم الحالة]] [[de:Zustandslosigkeit]] [[fr:Serveur stateless]] [[zh:无状态协议]]'
New page wikitext, after the edit (new_wikitext)
'In computing, a '''stateless protocol''' is a [[communications protocol]] that treats each request as an independent transaction that is unrelated to any previous request so that the communication consists of independent pairs of requests and responses. A stateless protocol does not require the [[server (computing)|server]] to retain [[session (computer science)|session]] information or status about each communications partner for the duration of multiple requests. In contrast, a protocol which requires the keeping of internal state is known as a [[stateful]] protocol. Examples of stateless protocols include the [[Internet Protocol]] (IP) which is the foundation for the [[Internet]], and the [[Hypertext Transfer Protocol]] (HTTP) which is the foundation of data communication for the [[World Wide Web]]. ==Advantages and disadvantages== 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-transaction, no part of the system needs to be responsible for cleaning the present state of the server. security is more in stateless than stateful A disadvantage of statelessness is that it may be necessary to include additional information in every request, and this extra information will need to be interpreted by the server. ==Examples== An example of a stateless protocol is [[HTTP]].<ref>http://www.w3.org/Protocols/rfc2616/rfc2616.html</ref> The protocol provides no means of storing a user's data between requests. Contrast this with a traditional [[File Transfer Protocol|FTP]] server that conducts an interactive session with the user. During the session, a user is provided a means to be authenticated and set various variables (working directory, transfer mode), all stored on the server as part of the user's state. == Stacking of stateless and stateful protocol layers == There can be complex interactions between stateful and stateless protocols among different protocol layers. For example, HTTP is an example of a stateless protocol layered on top of [[TCP]], a stateful protocol, which is layered on top of [[Internet Protocol|IP]], another stateless protocol, which is routed on a network that employs [[BGP]], another stateful protocol, to direct the IP packets riding on the network. This stacking of layers continues even above HTTP. As a work-around for the lack of a session layer in HTTP, [[HTTP server]]s implement various [[Http_session#Web_server_session_management|session management]] methods,<ref>{{cite web | accessdate = 2011-04-12 | location = http://cookiebits.com/ | publisher = C cookie bits | title = session management methods reviewed | quote = The following material is intended to introduce the reader to the various techniques that developers have used to implement session tracking on the Web. The main operational characteristics of each method are mentioned in addition to the shortcomings that have been observed in usage. Additional information on session management can be found by searching the Internet. […] | url = }}</ref> typically utilizing a unique identifier in a [[HTTP cookie|cookie]] or parameter that allows the server to track requests originating from the same client, and effectively creating a stateful protocol on top of HTTP. == See also == * [[Soft state]] ==References== <references/> *{{FOLDOC}} <!--Interwikies--> <!--Categories--> [[Category:Servers (computing)]] [[Category:Network protocols]] {{network-stub}} [[ar:بروتوكول عديم الحالة]] [[de:Zustandslosigkeit]] [[fr:Serveur stateless]] [[zh:无状态协议]]'
Whether or not the change was made through a Tor exit node (tor_exit_node)
0
Unix timestamp of change (timestamp)
1361787061