douban / beanseye

Proxy and monitor for beansdb in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

It has two configuration file under conf directory, which one should I use?

weiliangwei opened this issue · comments

Hi,
we are using beansdb and beanseye. I found that there are 2 file under conf dir. Which one should I use when stating the server? example.ini or example.yaml? What's the difference between them?Could you tell me the detail of configuration options about the two kinds of configration file, so that I could set the configuration options correctly .

current version only support yaml.

the key point is each bucket should have at least n backends( the "servers" section).

Hi, thanks for your reply . The yaml has some options , could you tell me the detail :
1 .servers option :
servers:

  • localhost:7900 0 1 2
  • 127.0.0.1:7900 A -1 B
    I konw that 'localhost:7900' and '127.0.0.1:7900' but what's means about the '0 1 2' and 'A -1 B'?How to set the options?

2 . how to set following options :
threads: 8
n: 3
w: 2
r: 1
buckets: 16
slow: 200
listen: 0.0.0.0
proxies:

  • localhost:7905
    readonly: false