Commit f1689a8c authored by Daniel Seybold's avatar Daniel Seybold

updated readme

parent 3b2980e0
Pipeline #51620 passed with stage
in 15 minutes and 39 seconds
......@@ -14,7 +14,7 @@ The API enables the execution of different DBMS workloads based on a JSON based
- ...
### Additional workloads
......@@ -22,20 +22,18 @@ The API enables the execution of different DBMS workloads based on a JSON based
## Setup
## Dev Setup
#### From Source:
#### Get source:
*NOT MAINTAINED ANYMORE*
1. Use an Ubtunu 16.04 image
2. Run the following commands as sudo:
1. Java 1.8 required
2. Workload binaries are required to test the execution of workloads, for more details check the Dockerfile!
3. Start from source and access the dashboard at http://localhost:8181
```bash
cd /opt && sudo git clone https://omi-gitlab.e-technik.uni-ulm.de/mowgli/workload-API.git
cd /opt/workload-API
sudo ./install/install.sh
git clone https://omi-gitlab.e-technik.uni-ulm.de/mowgli/workload-API.git
cd workload-API
sudo mvn jetty:run
```
......@@ -64,61 +62,9 @@ and acces the basic WEB dashboard via
http://localhost:8181/index.html
```
## Start workload
YCSB template:
## Start a workload
```
{
"dbEndpoints": [
{
"ipAddress": "string",
"port": 0
}
],
"measurementConfig": {
"interval": 10,
"measurementType": "TIMESERIES"
},
"workloadConfig": {
"workloadType": "LOAD",
"workloadClass": "com.yahoo.ycsb.workloads.CoreWorkload",
"maxExecutionTime": 0,
"threadCount": 1,
"recordCount": 1000,
"insertStart": 0,
"insertCount": 0,
"operations": 1000,
"targetOps": 0,
"fieldCount": 10,
"fieldLength": 100,
"readAllFileds": true,
"readModifyWriteProportion": 0,
"requestdistribution": "UNIFORM",
"scanLengthDistribution": "UNIFORM",
"insertOrder": "ORDERED",
"readProportion": 0.95,
"updateProportion": 0.05,
"insertProportion": 0,
"scanProportion": 0,
"maxScanLength": 1000,
"coreWorkloadInsertionRetryLimit": 0,
"coreWorkloadInsertionRetryInterval": 0
},
"databaseConfig": {
"databaseBinding": "COUCHBASE2",
"endpointParameterName": "couchbase.host",
"tableParameterName": "couchbase.bucket",
"tableName": "ycsb",
"configPorperties": [
{
"name": "couchbase.persistTo",
"value": "0"
}
]
}
}
```
Check the [getting started guide](https://omi-gitlab.e-technik.uni-ulm.de/mowgli/getting-started) of the Mowgli framework!
------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment