Defense for malicious requests – Identifying attacks

Based on the microservices architecture, the most common type of attack is Distributed Denial of Service (DDoS). This type of attack is the most common because it is simple to do and requires the microservice's high computational capacity. Know that computational resources are not infinite, especially if the application is facing an attack.

The first step to protect yourself is to identify attacks. There is a certain pattern for identifying an attack. The first is the human factor. In this case, calculate the time of calls to the microservices. The speed of calls is an excellent identifier, whether it is an attack or not. Very fast calls or calls with constant standard time, sequences, ...

Get Microservice Patterns and Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.