Question: This problem is about query flooding in P2P networks. Here, we explore the reverse-path routing of the QueryHit messages in Gnutella. Suppose that Alice
This problem is about query flooding in P2P networks. Here, we explore the reverse-path routing of the QueryHit messages in Gnutella. Suppose that Alice issues a Query message. Furthermore, suppose that Bob receives the Query message (which may have been forwarded by several intermediate peers) and has a file that matches the query. 5.1. 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? 5.2 In the Gnutella protocol, when the peer Alice generates a Query message, it inserts a unique ID in the message's MessagelD field. When the peer Bob has a match, it generates a QueryHit message using the same MessageID as the Query message. Describe how peers can use the MessagelD field and local routing tables to accomplish reverse-path routing. 5.3. An alternative approach, which does not use message identifiers, is as follows. When a query message reaches a peer, before forwarding the message, the peer augments the query message with its IP address. Describe how peers can use this mechanism to accomplish reverse-path routing. Ps. APA referencing needed.
Step by Step Solution
3.33 Rating (156 Votes )
There are 3 Steps involved in it
51 Advantages of establishing a direct TCP connection with Alice and sending the QueryHit message over this connection Reduced network traffic The Que... View full answer
Get step-by-step solutions from verified subject matter experts
