{'fraction_non_alphanumeric': 0.02355072463768116, 'fraction_numerical': 0.0018115942028985507, 'mean_word_length': 4.637755102040816, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Optimal Schedule on Message Broadcast Tree in Structured Peer-to-Peer Networks

In a peer-to-peer (P2P) network, broadcast is a fundamental service for many operations. However, it is not trivial for an activated peer, who has received a broadcast message, to find a non-activated peer in P2P networks. In past years, it had proposed to explicitly build a spanning tree so that each peer can forward the broadcast message to its children along the edges on the tree, and aggregate useful information in the reverse direction. In this paper, we further schedule the message forwardings in the tree so that the total time to complete the broadcast is reduced. We assume that, in a cooperative environment, an activated peer can send a broadcast message to a non-activated descendent peer in one round. We present an optimal algorithm and its two simplified variants to compute a minimum round schedule on the tree. Simulation results show that the required time to complete a broadcast is significantly reduced in terms of both round numbers and hop counts. In addition, the load of peers is more balanced.