Author: Sergio Lema
-

Exploring the Benefits and Challenges of AWS Adoption
Some time ago, I had to migrate a complete website from an on-premise architecture to a AWS architecture. We found some benefits and a lot of challenges as the price, the knowledge and the customization.
-

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.
-

10 AWS Services Every Developer Should Know About
Here are the key AWS services necessary when starting an application. These include EC2 for renting server time and customization, S3 for storing files globally, RDS for managing dynamic data, Secret Manager for secure password management, Lambda for handling fluctuating application loads, SQS for managing asynchronous events, ECS for microservices architecture, VPC for creating private…
-

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.
-

Authenticate Your Angular Application with JWT
In this article, I create an Angular application protected by JWT. I create a public component, private component and login component to show the different usages of each one. I use the JWT with the requests to my backend in the HTTP headers.
-

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…
-

My Problems with Flyway
How I’ve created a framework to solve the most common problems with the Flyway migrations. I must first identify the problem from the log files. Then apply the solution depending on the problem. It can go from a simple changeset rollback to stop the production.
-

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.
-

Stop Using Null on Database Rows
Stop Using Null on Database Rows. In this article I show why it’s a bad idea, what problem I’ve encountered and what is the solution I used.
