2019-04-14 08:25:44 +00:00
|
|
|
server_config:
|
2019-05-14 03:49:32 +00:00
|
|
|
address: 0.0.0.0
|
2019-04-15 07:58:28 +00:00
|
|
|
port: 33001
|
2019-05-28 10:43:08 +00:00
|
|
|
transfer_protocol: binary #optional: binary, compact, json
|
2019-04-16 09:20:09 +00:00
|
|
|
server_mode: thread_pool #optional: simple, thread_pool
|
2019-05-23 03:01:11 +00:00
|
|
|
gpu_index: 0 #which gpu to be used
|
2019-04-28 06:48:05 +00:00
|
|
|
|
|
|
|
db_config:
|
2019-05-14 07:29:37 +00:00
|
|
|
db_path: /tmp/vecwise
|
2019-04-17 02:45:39 +00:00
|
|
|
db_backend_url: http://127.0.0.1
|
2019-05-23 03:01:11 +00:00
|
|
|
db_flush_interval: 5 #unit: second
|
2019-04-28 06:48:05 +00:00
|
|
|
idmapper_max_open_file: 128
|
2019-04-15 07:24:56 +00:00
|
|
|
|
2019-05-28 09:50:20 +00:00
|
|
|
metric_config:
|
|
|
|
is_startup: true # true is on, false is off
|
|
|
|
collector: prometheus # prometheus, now we only have prometheus
|
|
|
|
prometheus_config:
|
|
|
|
collect_type: pull # pull means prometheus pull the message from megasearch, push means megasearch push metric to push gateway
|
|
|
|
push_gateway_ip_address: 127.0.0.1
|
|
|
|
push_gateway_port: 9091
|
|
|
|
|
2019-05-14 12:13:24 +00:00
|
|
|
license_config:
|
2019-05-23 03:01:11 +00:00
|
|
|
license_path: "/tmp/system.license"
|
2019-04-15 07:58:28 +00:00
|
|
|
|
|
|
|
cache_config:
|
2019-04-24 03:52:13 +00:00
|
|
|
cpu_cache_capacity: 16 # unit: GB
|
|
|
|
gpu_cache_capacity: 2 # unit: GB
|