Professional Documents
Culture Documents
CCN Q6 Solution
CCN Q6 Solution
CCN Q6 Solution
sized objects. The servers are located in different geographical regions, resulting in
varying network latencies.
Calculate the average response times (network latency + object transfer time) for
fetching objects from each server using both types of connections based on the
following assumptions:
Q6 Solution:
Persistent Connection:
A single connection is established to fetch multiple objects from the server. For
example, 5 objects residing at the server can be fetched in a single connection.
Non-Persistent Connection:
A separate connection for every object at the server is required. For example, if the
server has 5 objects, you need to 5 separate connections to fetch those objects.
Having two objects at the server is my assumption for simplicity. You can take 3 or
more objects. Its up to you.
Now suppose we want to fetch these two objects from server A, we need to make
two separate connections for each object. So the average response time will be:
Response time = network latency + object transfer time (this is for one object)
Scenario 2 ( Perssistent)
Now suppose we want to fetch these two objects from server A, we need to make
two separate connections for each object. So the average response time will be :
Response time = network latency + object transfer time (this is for one object)
RTT (Round Trip Time) = RTT refers to the time it takes for a signal or packet to
travel from the source to the destination and back again. It includes not only the
propagation delay (the time it takes for the signal to travel from the source to the
destination) but also the processing delay (time taken by intermediate routers or
devices to process the packet) and queuing delay (time spent waiting in routers'
queues).