-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample-configs.json
More file actions
80 lines (80 loc) · 3.22 KB
/
Copy pathexample-configs.json
File metadata and controls
80 lines (80 loc) · 3.22 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
70
71
72
73
74
75
76
77
78
79
80
{
"benchmark":{
"tasks": [
{
"module": "benchmark_tools.task_generator.task_add_publisher",
"args": [],
"kwargs": {
"redis_address": "172.17.0.1",
"redis_port": "6379",
"input_cmd_stream_key": "cm-cmd",
"logging_level": "DEBUG",
"actions": [
{
"publisher_id":"publisher1",
"action":"pubJoin",
"source":"rtmp://172.17.0.1/vod2/cars.mp4",
"stream_key":"pub-cmd-publisher1",
"meta":{
"geolocation":"",
"cctv":"True",
"color":"True",
"fps":"30",
"resolution":"640x480",
"color_channels":""
}
}
]
}
},
{
"module": "benchmark_tools.task_generator.task_add_queries",
"args": [],
"kwargs": {
"redis_address": "172.17.0.1",
"redis_port": "6379",
"input_cmd_stream_key": "cm-cmd",
"logging_level": "DEBUG",
"actions": [
{
"action": "addQuery",
"query": "REGISTER QUERY testQuery OUTPUT K_GRAPH_DICT CONTENT ObjectDetection MATCH (c:Car) WHERE c.label='CAR' FROM publisher1 WITHIN TUMBLING_COUNT_WINDOW(4) RETURN c",
"subscriber_id": "3",
"query_id": "1"
},
{
"action": "task_gen_wait_for",
"sleep_time": "15"
},
{
"action": "delQuery",
"subscriber_id": "3",
"query_id": "1"
},
{
"action": "task_gen_wait_for",
"sleep_time": "3"
}
]
}
}
],
"evaluations": [
{
"module": "benchmark_tools.evaluation.latency_evaluation",
"args": [],
"kwargs":{
"jaeger_api_host": "http://172.17.0.1:16686",
"threshold_functions": {
"latency_avg": "lambda x: x < (3 * 1.1)",
"latency_std": "lambda x: x < (3 * 1.1)"
},
"logging_level": "DEBUG"
}
}
]
},
"target_system": {
},
"result_webhook": "http://172.17.0.1:5000/123-456"
}