I'm using version the latest 1.x drivers to a single installation of Mongo 3.2.
I'm performing a query which returns around 2500 records (each Json record is about 500 bytes). The query is indexed and I've checked it isn't doing a full scan.
I'm calling the toArray() method on the cursor and it is taking around 200ms to build the array and populate all running on the same machine,
I'm wondering is there a way to improve the performance, check whether the data set is in memory or whether this seems pretty quick.
Are there any quicker ways of retrieving a result set?
Any advice is welcome.