forked from fullstorydev/solr-bench
-
Notifications
You must be signed in to change notification settings - Fork 2
/
stress-ecommerce-local.json
109 lines (102 loc) · 3.07 KB
/
stress-ecommerce-local.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"task-types": {
"indexing": {
"index-benchmark": {
"name": "ECOMMERCE_EVENTS",
"description": "E-Commerce Events dataset",
"replication-type": "cloud",
"dataset-file": "ecommerce-events.json.gz",
"file-format": "json",
"max-docs": 50000000,
"batch-size": 50000,
"id-field": "id",
"setups": [
{
"setup-name": "cloud_3x1",
"collection": "ecommerce-events",
"configset": "conf_ecommerce_events",
"replication-factor": 1,
"shards": 3,
"min-threads": 8,
"max-threads": 8,
"thread-step": 1
}
]
}
},
"querying": {
"query-benchmark": {
"name": "Facet queries",
"collection": "ecommerce-events",
"query-file": "queries-ecommerce.json",
"min-threads": 1,
"max-threads": 1,
"json-query" : true,
"shuffle": false,
"rpm": 3000,
"total-count" : 10000,
"warm-count": 20
}
},
"restart-solr-node": {
"restart-solr-node": "${NODE_INDEX}",
"await-recoveries": true
}
},
"global-variables": {
"collection-counter": 0,
"restart-counter": 0
},
"global-constants": {
"HOST": "localhost",
"PORT": "8983"
},
"execution-plan": {
"task1": {
"type": "indexing",
"instances": 1,
"concurrency": 1,
"mode": "sync"
},
"task2": {
"description": "Restart Solr node",
"instances": 3,
"concurrency": 1,
"type": "restart-solr-node",
"parameters": {
"NODE_INDEX": "${restart-counter}"
},
"wait-for": "task1",
"mode": "sync",
"pre-task-evals": [
"inc(restart-counter,1)"
]
},
"task3": {
"type": "querying",
"instances": 1,
"concurrency": 1,
"wait-for": "task2",
"mode": "sync"
}
},
"cluster": {
"num-solr-nodes": 3,
"jdk-url": "http://enos.itcollege.ee/~jpoial/allalaadimised/jdk8/jdk-8u291-linux-x64.tar.gz",
"jdk-tarball": "jdk-8u291-linux-x64.tar.gz",
"jdk-directory": "jdk1.8.0_291",
"startup-params": "-m 12g",
"provisioning-method": "local"
},
"repository": {
"commit-id": "01c4381d6f960429ccd02c674b94b9338c79c290",
"description": "Solr 8.10",
"name": "git-repository",
"package-subdir": "/solr/package/",
"build-command": "ant ivy-bootstrap && cd solr && ant compile package",
"submodules": false,
"url": "https://github.com/apache/lucene-solr",
"user" : "ishan"
},
"metrics": ["jvm/solr.jvm/memory.heap.usage"]
}