The source code of paper: "GeoTP: Latency-aware Geo-Distributed Transaction Processing in Database Middlewares".
folder description: - geo-agent: deploy in the same machinen with data source - geo-middleware: act as middleware - script: the network configuartion and running script in EVALUATION(Section6).
1.the branch name of both geo-agent and geo-middleware are 'GeoTP'.
2.we use benchbase as a client, the configuration can be seen in Section6.
The project is inherite from shardingsphere, compile and deploy in the same way as shardingsphere. The configuartion file can be found in proxy/bootstrap/src/main/resources/conf, key files are server.yaml and config-sharding.yaml. Replace url and password with the corresponding values for the target machine.
Geo-agent works as an agent or proxy for data sources. Similar to geo-middleware, the config file can be found in bootstrap/src/main/resources/conf.
We compile this project with maven and copy the .jar into target/lib
./build.pycd target
./start.shWe run the script run_benchabse.py to conduct evaluations. Before this, we copy the config file for benchbase into config/ and tarverse this folder.
For example, we use following command in Section 6.2.
./run_benchbase.py -s normal -a none aharp_lppa -f skew -w ycsb -e mysqlMore detail parameters can be found in run_benchbase.py or run
./run_benchbase.py -h