server_config_template.yaml 531 字节
Newer Older
G
groot 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
server_config:
  address: 0.0.0.0
  port: 33001
  transfer_protocol: json     #optional: binary, compact, json, debug
  server_mode: thread_pool    #optional: simple, thread_pool
  gpu_index: 0                #which gpu to be used

db_config:
  db_path: /tmp/vecwise
  db_backend_url: http://127.0.0.1
  db_flush_interval: 5              #unit: second
  idmapper_max_open_file: 128

license_config:
  license_path: "/tmp/system.license"

cache_config:
    cpu_cache_capacity: 16   # unit: GB
    gpu_cache_capacity:  2   # unit: GB