There is a test scenario for me, the configuration file is (track.json):
{% if index_count is not defined %}
{% set index_count = 1 %}
{% endif %}
{% set index_prefix = "billions-jssz.benchmark.scene1-" %}
{% import "rally.helpers" as rally with context %}
{
"version": 2,
"description": "throughput with {{index_count}} index",
"indices": [
{% set comma = joiner() %}
{% for item in range(index_count) %}
{{ comma() }}
{
"name": "{{index_prefix}}{{item}}",
"body": "settings/mapping.json",
"types": [ "logs" ]
}
{% endfor %}
],
"corpora": [
{
"name": "jssz_scene_1",
"target-type": "logs",
"documents": [
{% set comma = joiner() %}
{% for item in range(index_count) %}
{{ comma() }}
{
"target-index": "{{index_prefix}}{{item}}",
"source-file": "{{index_source_file | default('documents.json')}}",
"document-count": {{index_document_count | default(1)}},
"uncompressed-bytes": {{index_document_uncompressed_bytes | default(1)}}
}
{% endfor %}
]
}
],
"challenges": [
{
"name": "{{challenge_name | default('just_bulk')}}",
"default": true,
"schedule": [
{
"operation": {
"operation-type": "delete-index"
}
},
{
"operation": {
"operation-type": "create-index"
}
},
{
"parallel": {
"tasks": [
{% set comma = joiner() %}
{% for item in range(index_count) %}
{{ comma() }}
{
"warmup-time-period": {{ bulk_warmup_time_period | default(0) }},
"operation": {
"name": "{{challenge_name}}-bulk-{{item}}",
"operation-type": "bulk",
"bulk-size": {{ bulk_size | default(200) }},
"indices": ["{{index_prefix}}{{item}}"]
},
"clients": {{ bulk_clients | default(5) }}
}
{% endfor %}
]
}
}
]
}
]
}
There are 20 indices, and every index will be indexing with a bulk operation(because I want to test the throughput with many indices, and they should be indexed parallelly). After the race, the summary report just like:
It seems like every bulk operation get a throughput, how can I calculate the total concurrency? Simple addition operation?
