Afile server can be either stateful or stateless.What are the advantages and disadvantages of each implementation?

What will be an ideal response?


If the server is stateful, it keeps state information of the client requests, such as the file
name, a pointer to the file and the current position in the file. This makes subsequent access
to the file easier and faster. However, fault tolerance is not easy to implement. When the
server crashes, the clients need to rebuild their states on the server before retrying. In a stateless
system, the client must specify which file to access in each request. Fault tolerance is easier
to implement in stateless systems, but stateful systems can reduce the size of request
messages and hence have better performance.

Computer Science & Information Technology

You might also like to view...

Compute the diameter of a circle with a circumference of 12 inches

What will be an ideal response?

Computer Science & Information Technology

The set of rules that Access follows when evaluating expressions in calculated fields is called ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

?Identify a return value for the expression 5/"A" using JavaScript.

A. ?5 B. ?NaN C. ?Infinity D. ?A

Computer Science & Information Technology

Using the Symbol Stainer tool may tax your computer's performance.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology