I am trying to evaluate the performance of 2 similar operations.
Let’s say I want to get a few documents and I have a list of document ids. I have 2 different ways to fetch the documents.
- Create a n1ql query utilizing use keys - “USE KEYS [doc_id_1, doc_id_2, doc_id_3]”
- Use PyDK’s get_multi - “get_multi([doc_id_1, doc_id_2, doc_id_3])”
Is there any recommendation to use one over another?