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.

Reply via email to