Kademlia routing algorithm correction and audits #186
Labels
⬆️ high priority
High priority issues
🐞 bug
Something isn't working
🆘 help wanted
Extra attention is needed
urgent
Required to move forward
get
requests block the GUI client app.put requests are simple and don't really affect the local GUI client as much since the local node (which exists on the server side) is sending data to the other nodes in the network, but get requests are expensive and so slow because the data being fetched will be used by and displayed via the GUI client. Is there any way to resolve this issue?
perhaps the
recv
timeout should be shorten to miliseconds rather than seconds?get_provider
request was made to make it easier to fetch data directly from the peers that have the data in their hash tables.Should the default (hard-coded) bootstrap nodes be allowed to accept
map
requests in order to maintain a complete list of all keys and their providers?tl;rl: searching for a key in the DHT network can take forever which will probably block the GUI client app.
node.cpp
androuting_table.cpp
,msgpack.cpp
, anddaemon/main.cpp
.https://github.com/larteyoh/testshop/blob/main/src/core/protocol/p2p/routing_table.cpp
https://github.com/larteyoh/testshop/blob/main/src/core/protocol/p2p/node.cpp
https://github.com/larteyoh/testshop/blob/main/src/core/protocol/messages/msgpack.cpp
https://github.com/larteyoh/testshop/blob/main/src/daemon/main.cpp
(not yet decided)
The text was updated successfully, but these errors were encountered: