08 Feb 2022
Sharding and replication are essential techniques of making the MongoDB database scalable, reliable, and highly available.
This tutorial will show how to set up the replicated Sharded MongoDB cluster on top of the isolated Docker containers as example hosts and walk you through the basics required to understand each step.
Continue reading...
20 Sep 2020
A few months ago I decided to deep-in my understanding of containers reading some book about the Docker. I chose the ”Deployment with Docker” by Srdjan Grubor. The book is pretty good, it has some chapters answering the question ”Why were containers developed and what are the alternatives to Docker”.
It covers the topic of container orchestration with Docker Swarm as an example and explains the differences between other alternatives. It has a lot of hacks from an experienced developer which will help you to avoid some mistakes or at least understand where you should look for the problem. At the end of the book, there is a pretty good example of how to deploy your containerized application to Amazon EC2 instances using Ansible as a configuration management tool and Jenkins for continuous delivery. If you are not much experienced in how are distributed systems deployed and how to automate your deployments and configurations (f.e. to create and configure new instances when the load is increasing and remove them otherwise), it could be a good chapter for you to start with.
I can recommend this book to be read by everyone who only starts his way in developing containerized applications or wants to deep-in his understanding of Docker.
23 Aug 2020
Honestly, I decided to create this blog to write posts about technologies, my new skills, or projects I develop. I am currently working on one interesting (at least for me) application, and I will mention it later in this post. But it will take a lot of time for me to finish it and write some information here to my blog, so I decided that there is no need to wait and I can type something that I want to share because blogs are for some people wanting to share their thoughts with others.
Continue reading...