Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 986 Bytes

README.md

File metadata and controls

27 lines (22 loc) · 986 Bytes

xa-transactions

Repo for exploring XA transactions between DBMSs.

First, install dependencies:

sudo apt install openjdk-11-jdk maven libatomic1

Assume you put this repo in the same folder as apiary. You could directly try to compile and test. Run the following commands under the root directory of this project:

mvn clean
mvn test

The first command will clean up previous build and install Apiary as a dependency. Every time you update the Apiary repo, you will need to re-install it through mvn clean in this repo.

To run benchmarks, you first need to compile the code:

mvn -DskipTests package

Then run the benchmark. You could configure duration, interval, and percentage of bank transafer.

java -jar target/xa-bench-exec-fat-exec.jar -b xabank -p1 100 -d 30 -i 100

This example command runs the xabank benchmark, 100% transfer, duration 30 seconds, and interval 100 microseconds.