Category: Architecture
-
Workflow of the Forget Password Strategy

In this article I explain the workflow of the password recovery strategy. I explain how to link the new password with the user, and how to generate a secure link that can only be used once.
-
Complexity vs Urgency

In this article I explain how to identify and prioritize the tasks depending on their complexity and urgency. I explain the not complex and not urgent tasks, the complex but not urgent tasks, the not complex but urgent tasks and the complex and urgent tasks.
-
4 Performance Optimization Techniques for Your Application

In this article, I show 4 performance techniques to optimize the response time of an endpoint. 4 steps which goes from the most simple to the most complex as: memoization, pagination, denormalization and cache.
-
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.
