Question: ASSIGNMENT 1 - ON DISTRIBUTED COMPUTING - Scenario: Dynamic Peer - to - Peer File SharingImagine a large - scale, decentralized peer - to -
ASSIGNMENT ON DISTRIBUTED COMPUTING Scenario: Dynamic PeertoPeer File SharingImagine a largescale, decentralized peertopeer PP filesharing network. Here's the setting:Dynamic Nature:Nodes peers can join or leave the network unexpectedly.File Distribution:Users search for files, and downloads happen in chunks from multiple peers simultaneously.No Central Coordination:Theres no central server to track activity.The Challenge: Termination DetectionA user initiates a "global cleanup operation. This means:All active file transfers must complete or gracefully abort.The network must determine when it's safe to release resources used for the cleanup operation itself.Assignment TaskStudents must design and describe a spanningtreebased termination detection algorithm suitable for this PP scenario. They should address:Spanning Tree ReConstruction:How to maintain a valid spanning tree when nodes joinleaveInitiation:How does a cleanup request get disseminated to the entire network?Message Handling:What types of messages are needed to detect termination eg "idle" signals, acknowledgmentsFalse Termination:How to prevent premature termination signals due to temporary inactivity in parts of the network?Resource Release:How does the initiating node know it's truly safe to release cleanup resources?Touch PointsFault Tolerance:Students should consider how their algorithm handles node failures or message loss.Efficiency:Minimizing message overhead is crucial in a large, dynamic PP network.Scalability:The algorithm should work well on networks of varying sizes.SubmissionStudents should provide:Algorithm Description:A clear written explanation of their algorithm's logic.Pseudocode Optional:If feasible, simplified pseudocode for key steps.Justifications:Reasoning behind their design choices, addressing the challenges and "touch points."Let's Increase the Difficulty! Choose one or more to add:Overlapping Cleanups:What if multiple cleanupoperations overlap in time?Heterogeneity:Nodes have different speedscapabilities How does that impact tracking activity?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
