Editor’s note: this article has been edited to use a more thoughtful primary/secondary relationship between machines rather than the former, culturally insensitive terminology. In following along, depending on the terminology you use locally, you may need to update what we reference as primary/secondary here to match your systems. Thanks!
In distributed systems, achieving fault tolerance is one of the key criteria for success.
Let’s look at achieving fault tolerance and replication in a Redis network with Redis cluster and sentinels.
In this tutorial I’ll cover:
Keep up with the latest and best practices to build spring boot docker images.
As a Java Developer I am sure you must have heard of spring boot and probably Docker as well. Docker is phenomenon that has taken DevOps world by a storm.
Every new project and old one’s too are migrating to containers.
In this tutorial I will cover brief description of Docker containers and the essential tips that will help you get most out of Docker with Spring Boot.
Source code of the demo project is at
Many view containers as virtual machines. They’re not. …
With Docker Desktop running on WSL 2, users can leverage Linux workspaces and avoid having to maintain both Linux and Windows build scripts.
Applications that run on docker are limited to applications that are natively supported by the host operating system.
In other words, Docker for Windows can only host Windows applications inside Docker containers, and Docker on Linux supports only Linux apps.
Docker on windows always has been a challenge, earlier when I first used Docker back in 2017 it had following limitations,
Microservices are an architectural style that develops a single application as a set of small services.
Each service runs in its own process. The services communicate with clients, and often each other, using lightweight protocols, often over messaging or HTTP.
Microservices captures your business scenario, answering the question, “What problem are you trying to solve?”
Analysts predict that by 2022 developers will build 90% of all new applications on top of microservices.
What is so good about this method and should any business consider it as the best option for their next project?
Let’s find the right answers for your…
Cloud Foundry is an open source, multi-cloud application platform as a service (PaaS) governed by the Cloud Foundry Foundation.
Cloud Foundry’s container-based architecture runs apps in any programming language over a variety of cloud service providers.
This multi-cloud environment allows developers to use the cloud platform that suits specific application workloads and move those workloads as necessary within minutes with no changes to the application.
Languages and frameworks that can be deployed using the buildpack lifecycle include:
In this article we are going to cover PART 3 of the below series :
This article is part of the series. We will learn to use spring data and configure our database in MongoDB cloud.
In this series of tutorials, we are going to cover:
Spring Boot provides a very convenient spring-boot-starter-data-mongodb
project to add the dependencies we need to buid our entities and DAO layer.
We are also adding lombok dependency, this helps us avoid boilerplate in our java classes. Ref: lombok
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-mongodb</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId> …
The microservice architectural pattern is an approach to developing a single application as a suite of small services, each running in its own process and communicating with lightweight mechanisms
- By Martin Fowler
In this series of tutorials, we are going to cover:
Excited?! So, let’s get started.
This tutorial does assumes you’re already familiar with the basics of Java, Maven and Eclipse IDE.
Microservices accelerate delivery by minimizing communication and coordination between people while reducing…