bmuller / kademlia

A DHT in Python using asyncio
http://kademlia.readthedocs.org
MIT License
830 stars 210 forks source link

Help #17

Closed prabodh1194 closed 8 years ago

prabodh1194 commented 8 years ago

What is the use of standalone server in examples/server.tac?

bmuller commented 8 years ago

It's a node on the Kademlia network. More nodes = more good.

prabodh1194 commented 8 years ago

how do the nodes become aware of one another?

bmuller commented 8 years ago

You tell a new node just starting up about at least one other node in the network, then it can find every other node from there.

prabodh1194 commented 8 years ago

So, I want to use this DHT and setup a simple data storage system. I have set three nodes in this system by running, server.tac on three individual nodes. How do I run programs to set and get key,value from this DHT?

bmuller commented 8 years ago

Look at example.py for a set/get example. If you have any other questions, please email me.