Connectionless v.s. connection- Oriented Servers Application programs use UDP only if Application protocol specifies the UDP must be used Application protocol relies on hardware broadcast or multicast for delivery Overhead for reliability is unnecessary CSIE NTUT TANAN
CSIE, NTUT, TAIWAN 16 Connectionless v.s. ConnectionOriented Servers • Application programs use UDP only if – Application protocol specifies the UDP must be used – Application protocol relies on hardware broadcast or multicast for delivery – Overhead for reliability is unnecessary
Stateless v.s. Stateful Servers State information A server maintains about the status of ongoing interaction with clients Servers that do not keep any state information are called stateless servers otherwise. called stateful servers CSIE NTUT TANAN
CSIE, NTUT, TAIWAN 17 Stateless v.s. Stateful Servers • State information A server maintains about the status of ongoing interaction with clients • Servers that do not keep any state information are called stateless servers; otherwise, called stateful servers
Stateless v.s. Stateful Servers Keeping a small amount of information in a server can reduce the size of messages that the client and server exchange and allow the server to response quickly The point for statefulness is efficiency The motivation for statelessness lies in protocol reliabili CSIE NTUT TANAN
CSIE, NTUT, TAIWAN 18 Stateless v.s. Stateful Servers • Keeping a small amount of information in a server can reduce the size of messages that the client and server exchange and allow the server to response quickly • The point for statefulness is efficiency • The motivation for statelessness lies in protocol reliability