Fast and Efficient Pagination in MongoDB

MongoDB is a document based data store and hence pagination is one of the most common use case of it. Find out how you can paginate the results ...

database
mongodb
scale

Benchmark and compare the two approaches to paginate in MongoDB

Benchmark results for two pagination approaches for MongoDB.

database
mongodb
benchmark

Why MongoDB's cursor.skip() is slow?

MongoDB's cursor.skip() is very inefficient, why is that? Even though it is slow and inefficient, team MongoDB wants to continue keeping it. Find out why ...

database
mongodb

How Sleepsort helped me understand concurrency in Golang

Understanding concurrency in any programming language is tricky let alone Golang; hence to get my hands dirty the first thing I usually implement is sleepsort.

golang
programming
concurrency

Make HTTP requests using netcat

All our lives we have been hitting REST APIs with libraries and utilities like curl and postman. Its time we do it the hard way with netcat, just for fun!

python
programming

Multiple MySQL server running on same Ubuntu server

Have multiple MySQL versions running on same server within 5 minutes.

mysql
database
docker
devops

Setting up Graphite using Nginx on an Ubuntu server

Part 1: Monitor your production systems and application analytics using Graphite. This article will help you setup these tools on Ubuntu 14.04 on a Nginx webserver with PostgreSQL as backend.

devops

Setting up Graphite and Grafana on an Ubuntu server

Part 2: Monitor your production systems and application analytics using Graphite. This article will help you setup these tools on Ubuntu 14.04 on a Nginx webserver with PostgreSQL as backend.

devops

Publish python package on PyPI

If you have written something cool in Python and want to make it installable via pip and easy_install, this post will help you publish your python online.

python