Mongodb query performance boost

Hello everyone,

I would like to address my concern below.

I am fetching mongodb filter query from atlas. I used collection.find() as well as tried aggregation method too followed by mongodb best practices to boost performance of the query and the reduce response size. However, I found that query could attain very less concurrent requests benchmark test is performed.

Then I used nodejs streams collection.find().stream() to which drastically improved the benchmark test(load test) that results attaining much higher requests. However, when I tested it in nextjs frontend with fetch method, I found that query performance (contentful loading ) became very slow.

Could you please tell me whether we should use the streams to improve performance.

Regards