-
clone this repo git clone https://github.com/surildhruv21/Chain-Replication.git
-
resolve vertex dependencies
-
go to src/
-
To compile and run: vertx run -cp ../lib/snakeyaml-1.10.jar:../lib/voldemort-0.96.jar:../lib/jdom-1.1.jar:../lib/log4j-1.2.17.jar: MasterDriver.java
-
Similarly run Server1 and Server2
-
Make sure all the details in configuration.yaml file are correct
-
Go to the browser and enter the url in the following format: http://localhost:8080/put?key=value
-
To compile the client: javac -cp lib/commons-logging-1.2.jar:lib/core-0.1.4.jar:lib/httpclient-4.5.2.jar:lib/httpcore-4.4.4.jar:lib/json-20140107.jar: YcsbClient.java
-
To run the client: java -cp lib/commons-logging-1.2.jar:lib/core-0.1.4.jar:lib/httpclient-4.5.2.jar:lib/httpcore-4.4.4.jar:lib/json-20140107.jar: com.yahoo.ycsb.Client -t -db YcsbClient -P ../workloads/workloadd
-
lib folder in src directory is for voldemort. copy the lib folder in this directory to voldemort and then run voldemort
-
Notifications
You must be signed in to change notification settings - Fork 0
surildhruv21/Chain-Replication
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published