Question: In this exercise we will use a simplified mathmatical model to analyze the trade-off between connection-oriented communication and connectionless communication. Explain your answer. On a

In this exercise we will use a simplified mathmatical model to analyze the trade-off between connection-oriented communication and connectionless communication. Explain your answer.

On a certain network both forms of communication are provided:

-Using connection-oriented communication, it takes 50 seconds to establish a connection, after which a packet of up to 10 characters can be sent in 1.0 seconds over the connection, in either direction.

-Using connectionless communication, a packet of up to 10 characters can be sent 1.2 seconds (the sending of each packet takes slightly longer than in the connection-oriented case, since each packet must find its way to the receiver).

Suppose processes A and B exchange messages on this network. A initiates the communication and sends to B a message of 100 characters, which are partitioned into 10 packets. In reply, B sends a message of 50 characters, which are partitioned into 5 packets.

Assuming that there is no delay other than the time it takes for establishing a connection (in the connection-oriented case) and for packet transmission:

a. How long does the session between A and B last, using connection-oriented communication? Explain.

b How long does the session between A and B last, using connectionless communication? Explain.

c. How much data (in number of characters) must be exchanged between A and B in order for the connection-oriented communication to yield a shorter session than the connectionless communication? Explain.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!