摘要:
The disclosure discloses a method and an apparatus for realizing load balance in a DHT network, wherein the method comprises: determining the quantity Z of first virtual identifiers according to the node planning of the DHT network and a preset threshold of load unbalance degree, wherein Z is a natural number; equally dividing the whole load space of the DHT network into Z portions, and each portion of the load space is respectively identified by a different first virtual identifier; allocating the Z first virtual identifiers to each node according to the ability of each node so that each node is in charge of the load space corresponding to the first virtual identifier allocated to the node. The disclosure can reduce workload for managing and transferring virtual identifiers while realizing data storage load balance in the DHT network.
摘要:
The disclosure discloses an issuing method and an issuing system for configuration information, wherein the method comprises: a configuration server issuing the modified configuration information to a peer node which serves as a bootstrap node in the Peer-to-Peer (P2P) network when it is determined that the configuration information of a P2P network is modified; and the bootstrap node issuing the configuration information to peer nodes other than the bootstrap node in the P2P network. By the disclosure, the configuration information of the peer nodes in a P2P network can synchronize with that of a configuration server in time.
摘要:
The disclosure discloses a method and an apparatus for realizing load balance in a DHT network, wherein the method comprises: determining the quantity Z of first virtual identifiers according to the node planning of the DHT network and a preset threshold of load unbalance degree, wherein Z is a natural number; equally dividing the whole load space of the DHT network into Z portions, and each portion of the load space is respectively identified by a different first virtual identifier; allocating the Z first virtual identifiers to each node according to the ability of each node so that each node is in charge of the load space corresponding to the first virtual identifier allocated to the node. The disclosure can reduce workload for managing and transferring virtual identifiers while realizing data storage load balance in the DHT network.