Hello Couchbase experts ,
I am new to Couchbase and I am planning to consider Couchbase for one of our reporting modules which has a huge volume select queries and many concurrently running such calls. Also we will not be performing any updates to the documents its a READONLY Bucket.
We are currently considering below two approaches
1. Using Rest API service that will fetch data from Couchbase using SpringData.
2. Using Couchbase Java SDK directly firing N1QL queries. (version 2.7 +)
Please suggest what is the best approach out of these two, provided the documents fetched on an avg will be 25K per call.
I would also like to know what is the underlying protocol Couchbase Java SDK uses to connect to Couchbase whether its Rest API with Http Protocol or socket based port to port connectivity?
Thanks in advance.