This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.List; | |
public class Main { | |
public static void main(String[] args) throws InterruptedException { | |
int numberOfIterationInOuterLoop = Integer.parseInt(args[0]); | |
int port = Integer.parseInt(args[1]); | |
long duration = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# number of distinct objects in the database | |
db_size = pow(10, 10) | |
# number of nodes: each nodes replicate all objects | |
nodes = 10 | |
# transaction per second at one node | |
tps = pow(10, 6) | |
# number of actions per transaction | |
actions = 4 | |
# time to perform an actions (second) | |
action_time = 0.05 |