-
Build project with command
./gradlew build
-
Start Wallet Server with command
./gradlew :wallet-server:bootRun
-
In separate console start Wallet Client with command:
java -jar ./wallet-client/build/libs/wallet-client-1.0-SNAPSHOT-all.jar -u <number of users> -t <number of thread for each user> -r <number of rounds in thread>
Solution is based on pessimistic locking of accounts (not users)