Hi i have a problem when i call lcb_wait. I have profiled the program that push data very fast on the cb servers and i see that the must part of the time is spent in lcb_wait. I have used memcached before couchbase and using libmemcached the push was very fast. There if i don't call lcv_wait the data is forward as a possible internally or i need to call it anyway?
thanks in advance.
lcb_wait will drive all your network I/O which includes writing to sockets and waiting for sockets to become available for reading/writing; naturally lcb_wait() will end up being the bottom most frame for most of libcouchbase' APIs.