Friday, August 04, 2017

Composing a Sharded MongoDB Cluster on Docker Containers

DZone Database Zone
Composing a Sharded MongoDB Cluster on Docker Containers

In this article, we will write a docker-compose.yaml file and a cluster initiation scripts which will deploy a sharded MongoDB cluster on Docker containers.

Initially, let's look what kind of components we are going to need for a sharded MongoDB cluster. If we look at the official documentation, we need three main components which are obviously defined:

No comments:

Fun With SQL: Functions in Postgres

DZone Database Zone Fun With SQL: Functions in Postgres In our previous  Fun with SQL  post on the  Citus Data  blog, we covered w...