How can I efficiently check the existence of large number of couchbase docs using keys without impacting performance?
I would be checking the existence of 300,000 docs in an even much larger couchbase DB. I see the methods provided by couchbase java client but I am not sure how it would perform for a such a large number?
- ReactiveBatchHelper’s exists
- AsyncCollection's exists : It's the best in performance but is it enough?
- ReactiveCollection's exists
Use Case : I want to return the links of our website inside a sitemap to google for indexing. One website have many localised versions. So, assuming I have 100,000 websites for google spider to crawl and each website is available in 3 versions. Each translation of a website is stored in the couchbase doc. So, I have around 300,000 docs to check for existence.