We are building online application using c sdk of couchbase. We are using N1QL to fetch the data to our appliaction. After analysing the performance of the individual parts of the program I figured out that total opration ( setting query, making cmd, passing arguments, and opration under query callback is taking too low amount of time.where as lcb_wait() is taking most of the application time…
Time taken by all other oprations : 0.000547809 sec
Time taken by only lcb_wait : 0.185946043 sec
Time taken by query to execute on server (extracted from matrix of row fetched) : 857 microsecond
Please let me know why lcb_wait is taking too much time.
Is it because we are using default couchbase settings?
how we can reduce this time?