Category: Architecture
-

How I Solved 20 Vulnerabilities in Less Than An Hour
In this article I describe the steps I’ve followed to solve more than 20 vulnerabilities of a project in less than an hour. I show all the steps to follow from finding the problem to deploying the solution to the production environment.
-

5 Architecture Styles To Build a Big Application
Each application must follow a clear architecture design. The 5 main architecture styles are the Layered Architecture, the Service Oriented Architecture, the Pipeline Architecture, the Event Driven Architecture, and the Microservices Architecture.
-

Trade-offs in Pursuit of High-Performance Application
In this article I will describe 4 trade-offs I use to pursuit the high-performance of an application. Increasing the memory consumption, duplicate data in the database, add additional servers, and add additional services.
-

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.
