Here is my track.json:
{
"short-description": "Benchmarking the ES cluster",
"description": "The benchmarking tasks to be performed against the cluster",
"indices": [
{
"name": "es-benchmarking",
"types": [
{
"name": "type",
"mapping": "conversationHistory_mapping.json",
"documents": "ch.json.bz2",
"document-count": 10,
"compressed-bytes": 1,
"uncompressed-bytes": 2
}
]
}
],
"operations": [
{
"name": "index-append",
"operation-type": "index",
"bulk-size": 5000
},
{
"name": "index-update",
"operation-type": "index",
"bulk-size": 5000,
"conflicts": "random"
},
{
"name": "force-merge",
"operation-type": "force-merge"
},
{
"name": "index-stats",
"operation-type": "index-stats"
},
{
"name": "node-stats",
"operation-type": "node-stats"
},
{
"name": "default",
"operation-type": "search",
"body": {
"query": {
"match_all": {}
}
}
},
{
"name": "scroll",
"operation-type": "search",
"pages": 25,
"results-per-page": 1000,
"body": {
"query": {
"match_all": {}
}
}
}
],
"challenges": [
{
"name": "append-no-conflicts",
"description": "Indexes the whole document corpus using Elasticsearch default settings. We only adjust the number of replicas as we benchmark a single node cluster and Rally will only start the benchmark if the cluster turns green. Document ids are unique so all index operations are append only. After that a couple of queries are run.",
"default": true,
"index-settings": {
"index.number_of_replicas": 0
},
"schedule": [
{
"operation": "index-append",
"warmup-time-period": 20,
"clients": 8
},
{
"operation": "force-merge",
"clients": 1
},
{
"operation": "index-stats",
"clients": 1,
"warmup-iterations": 500,
"iterations": 1000,
"target-throughput": 100
},
{
"operation": "node-stats",
"clients": 1,
"warmup-iterations": 100,
"iterations": 1000,
"target-throughput": 100
},
{
"operation": "default",
"clients": 1,
"warmup-iterations": 500,
"iterations": 1000,
"target-throughput": 50
},
{
"operation": "scroll",
"clients": 1,
"warmup-iterations": 200,
"iterations": 500,
"target-throughput": 25
}
]
},
{
"name": "append-no-conflicts-index-only",
"description": "Indexes ",
"index-settings": {
"index.number_of_replicas": 0
},
"schedule": [
{
"operation": "index-append",
"warmup-time-period": 20,
"clients": 8
},
{
"operation": "force-merge",
"clients": 1
}
]
},
{
"#COMMENT": "Temporary workaround for more realistic benchmarks with two nodes",
"name": "append-no-conflicts-index-only-1-replica",
"description": "Indexes .",
"index-settings": {
"index.number_of_replicas": 1
},
"schedule": [
{
"operation": "index-append",
"warmup-time-period": 20,
"clients": 8
},
{
"operation": "force-merge",
"clients": 1
}
]
},
{
"name": "append-fast-with-conflicts",
"description": "Indexes the whole ",
"index-settings": {
"index.number_of_replicas": 0,
"index.refresh_interval": "30s",
"index.number_of_shards": 6,
"index.translog.flush_threshold_size": "4g"
},
"schedule": [
{
"operation": "index-update",
"warmup-time-period": 5,
"clients": 8
},
{
"operation": "force-merge",
"clients": 1
}
]
},
{
"name": "append-no-conflicts-no-large-terms",
"description": "Indexes the whole document ",
"user-info": "This challenge .",
"index-settings": {
"index.number_of_replicas": 0
},
"schedule": [
{
"operation": "index-append",
"warmup-time-period": 20,
"clients": 8
},
{
"operation": "force-merge",
"clients": 1
},
{
"operation": "index-stats",
"clients": 1,
"warmup-iterations": 500,
"iterations": 1000,
"target-throughput": 100
},
{
"operation": "node-stats",
"clients": 1,
"warmup-iterations": 100,
"iterations": 1000,
"target-throughput": 100
},
{
"operation": "default",
"clients": 1,
"warmup-iterations": 500,
"iterations": 1000,
"target-throughput": 50
},
{
"operation": "scroll",
"clients": 1,
"warmup-iterations": 200,
"iterations": 500,
"target-throughput": 25
}
]
},
{
"name": "search-only",
"description": "Same as default challenge except it only runs the search operations",
"user-info": "This .",
"index-settings": {
"index.number_of_replicas": 0
},
"schedule": [
{
"operation": "index-append",
"warmup-time-period": 20,
"clients": 8
},
{
"operation": "force-merge",
"clients": 1
},
{
"operation": "index-stats",
"clients": 1,
"warmup-iterations": 500,
"iterations": 1000,
"target-throughput": 100
},
{
"operation": "node-stats",
"clients": 1,
"warmup-iterations": 100,
"iterations": 1000,
"target-throughput": 100
},
{
"operation": "default",
"clients": 1,
"warmup-iterations": 500,
"iterations": 1000,
"target-throughput": 50
},
{
"operation": "scroll",
"clients": 1,
"warmup-iterations": 200,
"iterations": 500,
"target-throughput": 25
}
]
}
]
}