Computer Science, asked by sedhaisamikshya7, 10 months ago

As we know when a peer has a matching file, it sends a QueryHit message along the reverse path of the corresponding Query message. An alternative design would be for Bob to establish a direct TCP connection with Alice and send the QueryHit message over this connection. What are the advantages and disadvantages of such an alternative design?

Answers

Answered by BrainlyYoda
7

Answer:

Advantages of an Alternative Design ::

1. Without passing through intermediate peers there is an underlying Internet through which the QueryHit message is routed.

2. As the above thing occurs it will take substantially less time for sending the message from Bob to Alice.

Disadvantages of an Alternative Design ::

1. Alice have to open a new TCP connection always when each peer matches.

2. By above point we can also see that there will be many peers for which Alice have to open many TCP connection for a given query.

3. If Alice is using NAT (Network address Translation) then she will face more problems.

We can see this by how NAT works? NAT generally modify network address information which remaps one IP address space into another . Modified network address is then transited through a traffic routing device as the information is stored in IP header of packets.

Answered by Anonymous
2

Answer:

Approach Featuring the Internet, 3/e

James F. Kurose · 2005 · Computer networks

An alternative design would be for Bob to establish a direct TCP connection with Alice and send the QueryHit message over this ...

Similar questions