[Bamboo-Users] How to change Get timeout
Haijun Cao
Haijun at projectrialto.com
Mon Dec 3 22:53:28 UTC 2007
Set drop_prob to 0.0 in network stage.
-----Original Message-----
From: bamboo-users-bounces at bamboo-dht.org
[mailto:bamboo-users-bounces at bamboo-dht.org] On Behalf Of
Martina.Baldanzi at isti.cnr.it
Sent: Monday, December 03, 2007 9:23 AM
To: bamboo-users at bamboo-dht.org
Cc: martina.baldanzi at isti.cnr.it
Subject: [Bamboo-Users] How to change Get timeout
Dear All,
I'm Martina and I have a question about the get timeout.
As default value, the get_timeout variable is set to 5000 ms, but if I
change the config file of a Bamboo node, I can give a different value to
this timeout (such as 800 ms).
Suppose that I want to change the get_timeout of
bamboo/test/location-test-node.cfg in this way:
...
<Dht>
class bamboo.dht.Dht
<initargs>
get_timeout 800
debug_level 1
storage_manager_stage StorageManager
min_replica_count 1
</initargs>
</Dht>
..
Now I run the test to start two Bamboo instances and I run a sequence of
Get requests to measure the response time. Sometimes, I obtain get
resolved in tens of milliseconds and sometimes I obtain get resolved
with a time equal to 5000 ms.
This is ok for me, because the network is reliable at the 90%, but I
expected get response time multiple of 800 ms.
Moreover, I have tried to change the line 1075 of
bamboo/src/bamboo/dht/Dht.java with the following:
get_timeout = configGetInt(config, "get_timeout", 800);
and then I re-compile the bamboo source code, but I obtain get response
time multiple of 5000 ms.
Any ideas to resolve my problem?
Thank you very much,
Martina
_______________________________________________
Bamboo-Users mailing list
Bamboo-Users at bamboo-dht.org
http://bamboo-dht.org/cgi-bin/mailman/listinfo/bamboo-users
More information about the Bamboo-Users
mailing list