How does Couchbase server determine its environment?


#1

Hi,

I’ve been working with Couchbase on my local machine with my development views.

Other than publishing my development views as production views, are there any other configurations I need to change to deploy my application on a production server?

Does the Couchbase server start using production views automatically?


#2

I suggest see


and

Other than publishing my development views as production views, are there any other configurations I need to change to deploy my application on a production server?
Once you publish a view as production it is ready to use but do consider the performance and the viewUpdateDaemon settings for example

Example to set the viewUpdateDaemon
GET http://Administrator:Password@nodename:8091/settings/viewUpdateDaemon
Result -
{
“updateInterval”:5000,
“updateMinChanges”:5000,
“replicaUpdateMinChanges”:5000
}

POST http://nodename:8091/settings/viewUpdateDaemon
updateInterval=10000&updateMinChanges=7000

Does the Couchbase server start using production views automatically? Yes the production views are available to use


#3

Hi @GeorgeLeon

Thank you for the suggestions!

That was helpful.