Reverbrain wiki

Site Tools


rift:config

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

rift:config [2014/07/24 03:41] (current)
zbr created
Line 1: Line 1:
 +==== Rift config example ====
  
 +<file javascript>​
 +{
 +    "​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
 +    }
 +}
 +</​file>​
rift/config.txt ยท Last modified: 2014/07/24 03:41 by zbr