Category: Architecture
-

Microservices vs Serverless
Microservices and Serverless Architectures, advantages and drawbacks. Microservices Architecture allows different teams to work on various services, but requires a deep understanding of network and service orchestration. Serverless Architecture allows for automatic scaling and load calibration, but can make database connections more complex.
-

Problems I’ve Learned After Using Microservices Architecture for 10 Years
Don’t use a microservices architecture to create a new project. Don’t add complexity. I’ve worked on 3 projects with microservices architecture which shouldn’t have use it.
-

Spring Cloud Sleuth & Zipkin
In this article I will show how to trace requests between microservices using Spring Cloud Sleuth and Zipkin. Spring Cloud Sleuth will help me identify the logs from a single request between all the microservices. And Zipkin will show me the elapsed times at the microservices.
-

Spring Batch
In this article I will show how to create a complete Spring Batch project. I will show how to configure a Job and the Steps. I will implement a Step with a reader, processor and Writer. I will implement another Step with a Tasklet.
-

Circuit Breaker: Hystrix vs Resilience4J
In this post I’ll show how to use the Circuit Breaker pattern with Hystrix and with Resilience4J.
-

Message Queuing with Apache Kafka and Spring Cloud
In this article I will show how to configure Spring Cloud to publish and read messages from Apache Kafka for the Message Queuing pattern. I will show how to configure Spring Cloud for both the raw Apache Kafka dependency and for the Stream dependency.
-

How to use Spring Cloud Config Server with Git and Vault
In this article I will show how to use Spring Cloud Config Server with two sources: Git and Vault. I will use Git for the common configuration and Vault for the critical information.
-

How to use the Spring Cloud Gateway Filter for Authentication
In this article I will show the usage of the Spring Cloud Gateway filters for the authentication. I will start creating and describing a Spring Cloud Gateway project, what are the filters and how they work. Then, I will use them to perform the authentication of my microservices architecture.
-

How to implement a Service Discovery with Spring Cloud Eureka
In this article I will implement a Service Discovery with Spring Cloud Eureka. For that, I will create a Spring Boot microservice with Eureka Server and the others will use Eureka Client and Feign Client.
-

Build your Spring Boot Microservice with Kubernetes
In this article I will build my first Spring Boot microservice with Kubernetes in less than 10 minutes. For that, I will build a microservice using Spring Initializr and create my Kubernetes cluster in Minikube.
