Configure Spring Logging To Elasticsearch

Configure Spring Logging To Elasticsearch

Overview In this quick tutorial, I will show you how to configure Spring logging to Elasticsearch so you can search, visualize and do many useful things with your log. Things that you cannot do by looking at the console output. Let’s get started. Create ELK stack using Docker Compose If you don’t have Elasticsearch running … Read more

Use Cases of Redis In Software Systems

Use Cases of Redis In Software Systems

Overview Redis is an in-memory data structure store that is often used as a database, cache, and message broker. There are several benefits to using Redis, including: In this post, we are going to discuss the different use cases of Redis in software systems. Before you start, if you want to start a Redis instance … Read more

CAP Theorem Quick Overview

In computer science, the CAP theorem states that it is impossible for a distributed computer system to simultaneously provide more than two of the following three guarantees: In other words, the CAP theorem states that it is impossible to simultaneously guarantee consistency, availability, and partition tolerance in a distributed system. This means that in the … Read more

Spring Boot Commandline Runner Tutorial

Spring Boot Commandline Runner Tutorial

Overview There are times you need to do some start-up work when your Spring application launch. One of the methods is to use the CommandlineRunner interface. In this post, I’m going to show you how to use this interface to run startup tasks with flexibility. Let’s get started. Meet the CommandlineRunner interface The CommandlineRunner interface … Read more