I am using couchbase nodejs client 2.0.6 and I am running into issues with getMulti calls. If I call getMulti with a lot of ids or data I sometimes get client side timeout failures from it immediately, so I know they are not due to an actual timeout. Message is:
“Client-Side timeout exceeded for operation. Inspect network conditions or increase the timeout, code=23, error=21”
I see a lot of posts in this forum about client side timeout issues with the nodejs client, but I tend to only get them when trying to retrieve a lot of data with getMulti. For an example of a lot of data, I can see a recent failure trying to retrieve 41 records at once. 20 succeeded, and 21 said client side timeout. The records being retrieved are pretty large, about 21 KB on average each. The calls don’t always fail and they generally always succeed on my development server, which has a much lower load on it than production, so I don’t know if the problem is all client side or partially server side.
Is there a recommended way to use getMulti on a medium loaded server (about 5 ops every 10 seconds) so that it always works? Am I limited to sending about 10 ids at once?