General Architecture


I have general questions about setting up a community edition of the couchbase for the production application.

We have set up 3 nodes cluster and 2 nodes sync gateway for our mobile application. In order to use cluster configuration how should we define our sync gateway file and should we use a load balancer to use both sync gateway nodes?

We are also using N1QL with PHP pointing to one of the couchbase server nodes from the cluster and wondering if this configuration will always be a single node or we should create a load balancer in front of the 3 node CB cluster and then use load balancer IP for the N1SQL queries.

Please advise.