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

Could you help me to use some config options about yaml config file? #9

Open
weiliangwei opened this issue Nov 19, 2014 · 1 comment

Comments

@weiliangwei
Copy link

Hi, I have know that the beanseye is using yaml config file after your reply , and thanks very much. We will use beanseye and beansdb in our project. So I have to ask you some questions about config options.I need your help . 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

@youngsofun
Copy link
Contributor

0 - F means bucket id; ‘-’ means it is a buckup node(will be written if fail to write one of the primary )
e.g. 127.0.0.1:7900 0 1 2 -B means backend at 127.0.0.1:7900 serve bucket 0,1,2 and also as a backup for bucket B

"n" is the number of primary backend.
"w" is the number of success write to backend before return success to the client.

"proxies" just enable you to get the status of other proxies

"slow" is a threshold, request with processing time above it will be counted, you can get the count with "stats" command

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