Skip to content

Simple checker to see what the difference in latencies between 2 dcs and calculates an ongoing average.

Notifications You must be signed in to change notification settings

DataStaxCodeSamples/datastax-dclatency-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

To run the simple test with a 1KB payload and pause time of 1 second, execute the following

mvn clean compile exec:java -Dexec.mainClass="com.datastax.test.Main" -DcontactPoints=<localdc-ip> -Dlocaldc=<localdc> -Dremotedc=<remotedc>

To use a larger 5MB payload and change the pause time to 3 seconds, add the file and pauseInSeconds arguments, for example

mvn clean compile exec:java -Dexec.mainClass="com.datastax.test.Main" -DcontactPoints=<localdc-ip> -Dlocaldc=<localdc> -Dremotedc=<remotedc> -Dfile=bigfile5M -DpauseInSeconds=3

You can add pass any file to simulate your payload.

About

Simple checker to see what the difference in latencies between 2 dcs and calculates an ongoing average.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages