I’ve following queries regarding Couchbase:
- If we use Couchbase cluster then same data is written in all nodes (as active and replica). If we have 4 nodes then can we configure the cluster to keep the active data in one node and replica in another node (just 1 instead of all 3)?
- Can we use custom authentication for any data storage related operation on Couchbase? If we want to store data on couchbase we will pass a token along with the API request. Is it possible to validation that passed token through another external API call? I think Couch Mobile has a feature like this.
I tried to search on google but unfortunately couldn’t find any answer anywhere. Any help is much appreciated.