cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From A J <s5a...@gmail.com>
Subject Introduce Random latency
Date Wed, 06 Apr 2011 17:20:08 GMT
I want to run some tests where I incorporate random latency in some of
the nodes (that varies over time). I think the best place is to place
a 'sleep (random(10 to 50 seconds)) function' somewhere in the source
code of cassandra.
Or maybe the sleep is not random but the seconds to sleep are read
from an external file on that node. (that I will modify as the tests
are going on)

What would be a good spot in the source code to include this sleep function ?

Thanks.

Mime
View raw message