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.


Continue reading

Don't use dicts so much

Posted on Fri, 09 Sep 2016 in Python • Tagged with python, dict, rest

Python developers tend to use dicts too much. Mainly I tell about pass data through application as dicts not objects. It's a bad design witch causes many problems.


Continue reading