I set the bulk operation with 5000 bulk-size and 5 clients
{
"version": 2,
"description": "",
"indices": [
{
"name": "indexing-1gb",
"body": "index.json"
}
],
"corpora": [
{
"name": "log-data-1gb",
"documents": [
{
"source-file": "documents.json",
"document-count": 400000,
"uncompressed-bytes": 298500000
}
]
}
],
"challenges": [
{
"name": "bulk-indexing-1gb",
"default": true,
"schedule": [
{
"operation": {
"operation-type": "delete-index"
}
},
{
"operation": {
"operation-type": "create-index"
}
},
{
"operation": {
"operation-type": "cluster-health",
"request-params": {
"wait_for_status": "green"
},
"retry-until-success": true
}
},
##### HERE #####
{
"operation": {
"operation-type": "bulk",
"bulk-size": 5000
},
"warmup-time-period": 120,
"clients": 5
},
###############
{
"operation": {
"operation-type": "force-merge"
}
}
]
}
]
}
I thought the test would be like...
- 1 client send 5000 documents on one bulk API
- 1 bulk API is requested every one second (really?)
- there are 5 clients so 5 clinets send total 25000(5000*5) documents every one second
- eventually, elasticsearch is requested 25000 documents to index every second (???)
is it correct? If I set bulk operation, is the bulk api requested on every second?
also If there are multiple clinets on one operation, do every clients request some operation to elasticsearch on exact same time?