-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose-multiloader.yml
More file actions
70 lines (61 loc) · 1.74 KB
/
docker-compose-multiloader.yml
File metadata and controls
70 lines (61 loc) · 1.74 KB
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
version: '3'
services:
r0:
image: bftsmart
build: .
restart: always
command: sh -c 'sleep 1 && sh runscripts/startReplicaYCSB.sh 0'
environment:
- JAVA_OPTS=-Xms2G -XX:+UseG1GC
r1:
image: bftsmart
restart: always
command: sh -c 'sleep 5 && sh runscripts/startReplicaYCSB.sh 1'
environment:
- JAVA_OPTS=-XX:+UseG1GC
r2:
image: bftsmart
restart: always
command: sh -c 'sleep 10 && sh runscripts/startReplicaYCSB.sh 2'
environment:
- JAVA_OPTS=-XX:+UseG1GC
r3:
image: bftsmart
restart: always
command: sh -c 'sleep 15 && sh runscripts/startReplicaYCSB.sh 3'
environment:
- JAVA_OPTS=-XX:+UseG1GC
loader1:
image: bftsmart
command: sh -c 'sleep 20 && sh runscripts/ycsbLoaderEnv.sh'
environment:
- RECORDCOUNT=10000
- CLIENTID=1000
- INSERTSTART=0
- INSERTCOUNT=5000
loader2:
image: bftsmart
command: sh -c 'sleep 20 && sh runscripts/ycsbLoaderEnv.sh'
environment:
- RECORDCOUNT=10000
- CLIENTID=2000
- INSERTSTART=5000
- INSERTCOUNT=5000
client1:
image: bftsmart
command: sh -c 'sleep 120 && sh runscripts/ycsbClientEnv.sh'
environment:
- THREADS=1
- JAVA_OPTS=-XX:+UseG1GC
- RECORDCOUNT=10000
- CLIENTID=1000
- EXECUTION_TIME=300
client1:
image: bftsmart
command: sh -c 'sleep 120 && sh runscripts/ycsbClientEnv.sh'
environment:
- THREADS=1
- JAVA_OPTS=-XX:+UseG1GC
- RECORDCOUNT=10000
- CLIENTID=2000
- EXECUTION_TIME=300