All Topics  
Stateless server

 

   Email Print
   Bookmark   Link






 

Stateless server



 
 
A stateless server is a server
Server (computing)

A server is a computer program that provides services to other computer programs , in the same or other computer. The physical computer that runs a server program is also often referred to as server....
 that treats each request
Request

selfref|For Wikipedia related requests, see...
 as an independent transaction
Transaction

A transaction is an agreement, communication, or movement carried out between separate entities or objects, often involving the exchange of items of value, such as information, goods, services and money....
 that is unrelated to any previous request.

simplifies the server
Server (computing)

A server is a computer program that provides services to other computer programs , in the same or other computer. The physical computer that runs a server program is also often referred to as server....
 design because it does not need to dynamically allocate storage to deal with conversations in progress or worry about freeing it if a client dies in mid-transaction.

sadvantage is that it may be necessary to include more information in each request and this extra information will need to be interpreted by the server each time.

xample of a stateless server is a World Wide Web
World Wide Web

The World Wide Web is a very large set of interlinked hypertext documents accessed via the Internet. With a Web browser, one can view Web pages that may contain writing, s, videos, and other multimedia and navigate between them using hyperlinks....
 server.






Discussion
Ask a question about 'Stateless server'
Start a new discussion about 'Stateless server'
Answer questions from other users
Full Discussion Forum



Encyclopedia


A stateless server is a server
Server (computing)

A server is a computer program that provides services to other computer programs , in the same or other computer. The physical computer that runs a server program is also often referred to as server....
 that treats each request
Request

selfref|For Wikipedia related requests, see...
 as an independent transaction
Transaction

A transaction is an agreement, communication, or movement carried out between separate entities or objects, often involving the exchange of items of value, such as information, goods, services and money....
 that is unrelated to any previous request.

Advantages

This simplifies the server
Server (computing)

A server is a computer program that provides services to other computer programs , in the same or other computer. The physical computer that runs a server program is also often referred to as server....
 design because it does not need to dynamically allocate storage to deal with conversations in progress or worry about freeing it if a client dies in mid-transaction.

Disadvantages

A disadvantage is that it may be necessary to include more information in each request and this extra information will need to be interpreted by the server each time.

Examples

An example of a stateless server is a World Wide Web
World Wide Web

The World Wide Web is a very large set of interlinked hypertext documents accessed via the Internet. With a Web browser, one can view Web pages that may contain writing, s, videos, and other multimedia and navigate between them using hyperlinks....
 server. These take in requests in the form of URL
Uniform Resource Locator

In Information technology, a Uniform Resource Locator is a type of Uniform Resource Identifier that specifies where an identified resource is available and the mechanism for retrieving it....
s (which may be accompanied by client-side
Client (computing)

A client is an Application software or system that accesses a remote service on another computer system, known as a Server , by way of a Computer network....
 state-data such as cookies
HTTP cookie

HTTP cookies, more commonly referred to as World Wide Web cookies, tracking cookies or just cookies, are parcels of text sent by a Web server to a Web Client and then sent back unchanged by the client each time it accesses that server....
) which completely specify the required document and do not require any context or memory of previous requests.

Contrast this with a traditional FTP
File Transfer Protocol

File Transfer Protocol is a network protocol used to transfer data from one computer to another through a network such as the Internet.FTP is a file transfer protocol for exchanging and manipulating files over a Transmission Control Protocol computer network....
 server which conducts an interactive session with the user. A request to the server for a file can assume that the user has been authenticated and that the current directory and file transfer mode have been set.

The Gopher protocol and Gopher+
Gopher+

Gopher+ is a forward compatible enhancement to the Request for Comments [ftp://ftp.ietf.org/rfc/rfc1436.txt 1436] Gopher . Gopher+ works by sending extra data between the client and the server....
 are both designed to be stateless.