Skip to content

Instantly share code, notes, and snippets.

@adamcfraser
Last active August 29, 2015 14:17
Show Gist options
  • Save adamcfraser/1b1a855f7e787ce1b827 to your computer and use it in GitHub Desktop.
Save adamcfraser/1b1a855f7e787ce1b827 to your computer and use it in GitHub Desktop.
Remote cache config
{
"log": ["HTTP", "HTTP+", "CRUD", "DCache"],
"adminInterface": ":4985",
"maxIncomingConnections": {{conn_in}},
"maxCouchbaseConnections": {{conn_db}},
"maxFileDescriptors": 90000,
"slowServerCallWarningThreshold": 500,
"compressResponses": {{compression}},
"databases": {
"db": {
"server": "http://{{bucket}}:password@{{db_master}}/",
"bucket": "{{bucket}}",
"allow_empty_password": true,
"users": {
"GUEST": { "disabled": true }
},
"remote_cache": {
"writer": {{cache_writer}},
"server": "http://bucket-2:password@{{db_master}}/",
"bucket": "bucket-2"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment