I am using Couhbase SDK 2.1.2. I am planning to move from CouchbaseCluster to CouchbaseAsyncCluster.
The difference what found when i open a bucket. CouchbaseCluster.openBucket(username,password)
returns a Bucket and then after we used to get async bucket by doing bucket.async() and CouchbaseAsyncCluster gives me Observable when i open a bucket.
So what is the difference between bucket.async() and a bucket obtained via CouchbaseAsyncCluster i.e Observable ?
Also when i detailed down the code there is fixed threadpool(cb-core) of 2 threads for CouchbaseAsyncCluster called as disruptorExecutor which is inturn used by request and response disruptors(Something similar to LMAX disruptor).
I need a bit of explanation for how the CouchbaseCluster and CouchbaseAsyncCluster works internally. And what performance overhead/gain is expected in switching from CouchbaseCluster to CouchbaseAsyncCluster?