Category: Microservices
-
How Not To Create An Application
In this article I explain how not to create an application. I describe a real use case where I worked some years ago. Where we build a big application with a lot of complexity. But no clients and no profits.
-
How to Calculate the Servers Sizes for my Microservices
In this article I show how to calculate the size of a microservices cluster. Taking into account the CPU and memory capacity for the servers and for the services of my cluster.
-
Microservices Communications
Here is a list of the most used communictions protocols in microservices architecture. REST, a commonly used protocol, is simple and synchronous. SOAP uses XML and is often more verbose. RPC uses binary format, offering fast and compact communication. Messages or queues allow asynchronous communication, but require a message broker. Lastly, database communication uses a…
-
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.