Hi @himanshu.mps
Well the code looks fine to me. There’s a few go-to things I’d check on read performance:
- What is your network latency from the appserver to the cluster?
- How long does a profiler indicate the JSON decode taking? (As a side discussion, part of why we moved the JSON decode out of our the library and into ‘user space’ is to make it easier for devs to measure that cost, which can be significant.)
- How large are the documents? Can you use Sub-Document to fetch smaller pieces of them?
After that, if it were me, I would be following my usual checklist. (Technically that’s for debugging timeouts, but it has strong overlap with investigating performance.)