-
Notifications
You must be signed in to change notification settings - Fork 213
/
rdsn.envs.js
70 lines (69 loc) · 2.81 KB
/
rdsn.envs.js
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
var rdsn_envs =
[
{
"title" : "stateless service",
"dsptr" : "serve as a stateless service",
"config" : "config.deploy.ini",
"overwrites" : {
"apps.server.run" : "true",
"core.tool" : "nativerun",
"core.toollets" : "profiler",
}
},
{
"title" : "stateful service - meta server",
"dsptr" : "start a meta server for managing the membership, load balancing etc. for a stateful service",
"config" : "config.deploy.ini",
"overwrites" : {
"apps.meta.run" : "true",
"core.tool" : "nativerun",
"core.toollets" : "profiler,tracer",
"replication.app.app_name" : "{{st}}",
"replication.app.partition_count" : 4,
"replication.app.max_replica_count" : 3,
"meta_server.server_list" : "{{meta}}",
"meta_server.min_live_node_count_for_unfreeze" : 1,
}
},
{
"title" : "stateful service - replica servers",
"dsptr" : "start replica server(s) for hosting the service state and serving client requests",
"config" : "config.deploy.ini",
"overwrites" : {
"apps.replica.run" : "true",
"core.tool" : "nativerun",
"core.toollets" : "profiler",
"meta_server.server_list" : "{{meta}}",
"uri-resolver.dsn://mycluster.arguments" : "{{meta}}",
}
},
{
"title" : "clients - functional test",
"dsptr" : "basic functional test by invoking the service APIs as specified in service specification",
"config" : "config.deploy.ini",
"overwrites" : {
"apps.client.run" : "true",
"core.tool" : "nativerun",
"core.toollets" : "",
"apps.client.arguments" : "dsn://mycluster/<service-app-name>",
"uri-resolver.dsn://mycluster.arguments" : "{{meta}}",
},
},
{
"title" : "clients - performance test",
"dsptr" : "performance test by invoking the service APIs as specified in service specification",
"config" : "config.deploy.ini",
"overwrites" : {
"apps.client.perf.run" : "true",
"core.tool" : "nativerun",
"core.toollets" : "",
"apps.client.perf.arguments" : "dsn://mycluster/<service-app-name>",
"uri-resolver.dsn://mycluster.arguments" : "{{meta}}",
"{{st}}.{{st}}.perf-test.case.1.perf_test_key_space_size" : 1000000,
"{{st}}.{{st}}.perf-test.case.1.perf_test_concurrency" : 1,
"{{st}}.{{st}}.perf-test.case.1.perf_test_payload_bytes" : 256,
"{{st}}.{{st}}.perf-test.case.1.perf_test_timeouts_ms" : 100,
"{{st}}.{{st}}.perf-test.case.1.perf_test_hybrid_request_ratio" : "1,1,",
},
},
]