[OpenDHT-Users] question, answer

Roger Pack rogerpack2005 at gmail.com
Thu Sep 6 16:26:01 UTC 2007


with regard to email:
Weird CRs in answer from OpenDHT

Double check that you aren't using windows and reading/writing things in
non-binary mode (probably not the problem, but hey).  Also try it with
several keys, make sure it's a common problem.  Is there a gateway, also?

Now a question:

It seems that after openDHT gets a lot of traffic on a single key/value
pair, sometimes doing a 'get' on that value will timeout after 60s. An
example is the second graph on
http://wilkboardonline.com/roger/pics2/80-0-1000-v3/ind.html this page.
Notice the rows of gets that timed out after 60 or 120s.  This problem
becomes very high when lots of peers issue simultaneous concurrent 'gets' of
the same value (i.e. establishing a queue on a key/value pair results in
very bad behavior).  If I were to guess I would say it's a bug some how or
other in how openDHT handles multiple requests (especially requests that are
'dropped'--i.e. I start a request, then end the connection--I think openDHT
still continues the lookup, then attempts to return the value, then realizes
the connection is dead).  that might be a contributing factor, I'm not sure.

It's always after running a (somewhat) high load for a few minutes, so it
might be worth it, in future revision of openDHT, to try and hammer single
key/value pairs to build up its resilience to high load.

Thank you!
-Roger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://opendht.org/pipermail/opendht-users/attachments/20070906/b3d1c073/attachment.htm 


More information about the OpenDHT-Users mailing list