Reverbrain wiki

Site Tools


rift:config

Rift config example

{
    "endpoints": [
        "0.0.0.0:8080"
    ],
    "also-possible-endpoints": [
        "unix:test.sock"
    ],
    "backlog": 128,
    "threads": 2,
    "buffer_size": 65536,
    "logger": {
        "file": "/var/log/rift/rift.log",
        "level": 2
    },
    "daemon": {
        "fork": false,
        "uid": 1000
    },
    "monitor-port": 21000,
    "application": {
        "remotes": [
            "localhost:1025:2"
        ],
	"io-thread-num": 4,
	"nonblocking-io-thread-num": 1,
	"net-thread-num": 2,
        "groups": [
            3,4,2
        ],
        "metadata-groups": [
            1,2
        ],
        "cache": {
            "name": "cache",
	    "timeout": 60
        },
        "bucket": {
		"timeout": 60
        },
	"read-timeout": 10,
	"write-timeout": 16,
	"stat-timeout": 60,
        "redirect-port": 80
    }
}
rift/config.txt ยท Last modified: 2014/07/24 03:41 by zbr