Click here to Skip to main content
15,886,067 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have 10 node with two NRS
Each node will send a broadcast message to introduce itself to other node the message will go with TTL = X + n {n=0, 1, 2…}
It start with n=0
If the node connected to an NRS then it will send PUT or GET message to show the way for each data by using its prefix
Else n will be increment by one and resend the broadcast massage again ((n) Will be increase until get at least one (NRS)
After that, the NRS will distributed this data using DHT algorithm

Each node will start with cs =0
1- Any new data that received by a node, it will be stored in the content store, then the node will send the prefix of this data to the name resolution system with the node ID which is unique for each node showing the location of this node ( x.y.z) in form of a PUT message
2- And if this node need specific data, it will send the GET message to the NRS to get the prefix which show the direction of the destination node.
Posted
Comments
Patrice T 12-Sep-15 9:50am    
This is a "DoMyHomeWork" service.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900