Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
weiliangwei opened this issue Nov 18, 2014 · 3 comments

Comments

@weiliangwei
Copy link

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 .

@youngsofun
Copy link
Contributor

current version only support yaml.

@youngsofun
Copy link
Contributor

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

@weiliangwei
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants