Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 917 Bytes

load-injection.md

File metadata and controls

10 lines (6 loc) · 917 Bytes

5. Load injection with Gatling for demonstrating scalability

In order to demonstrate the scalability of the gateway in the case of a large request load, we used a simulation tool called Gatling that load inject the target application to observe its behavior.

As the figure below shows, the obtained results were as expected: as soon as the CPU usage increases and exceeds the 0.1 threshold (due to the excessive number of requests), the service is automatically scaled and 3 replicas were created to increase the availability.

The link to the Gatling report can be found here.

gatling

As stated in a previous section, as soon as the CPU utilization exceeds the 10% of the overall resources, the gateway is automatically replicated (max of replicas = 3). We can see that in the screenshot above.