MongoDB count queries can slow down your API
Posted on Fri, 23 Sep 2016 in Other • Tagged with mongo, api, rest
Sometimes front-end team or other API clients ask to show them total number of objects in API replies. But if you use MongoDB, try not to do this. It slows down your API.