I am not sure to understand.
1- If you use the Sync gateway you have to put that in a load balanced environment
2- You cannot connect your mobile directly to a Couchbase cluster because you need a reliable network (all the data and cluster topology exchanges are made using TCP Socket : fast and efficient)
3- So what you have to do is use for example PHP, put multiple Apache and a load balancer to host your rest API. Then the PHP client is connected to a Couchbase cluster that can scale easily (add/remove node, fail over, …) this is the role of the SDKs to be "cluster aware.
Is there any plans to make Couchbase Lite to work directly with Views from Couchbase Server Cluster or maybe some another way to get data from Server into memory only?
You can call Views from Couchbase since they are exposed using REST API. We are working on a REST interface at the top of the cluster :
- HTTP Interface : https://github.com/couchbaselabs/couchbase-nginx-module
- REST API Spec: http://www.couchbase.com/wiki/display/couchbase/Design+of+REST+interface+to+Couchbase+NGINX+module
Do you have a specific idea about what you would like to see as developer? I’ll bring this to the developer team.