I am having a Couchbase bucket with 22 million document in it (all small 30 line jsons).
With total size of 7gb of data. It all fits in memory and i even have a 5 gb of memory left for the bucket.
If i do a get with an array of 250 ids it takes about 2 seconds for couchbase to find them. Which is very slow and way longer then i would expect it to cost to fetch 250 document from memory.
// My list of 250 documents to fetch $idList = ['i::#1100', 'i::#4596', 'i::#7594', 'i::#60947', 'etc']; // @var \CouchbaseBucket $bucket $bucket->get($idList, ); // I do not send any options here // This takes about 2 seconds
Any clue what i am doing wrong?