I am having a hard time to identify the underlying issue for the following latency pattern for the max percentile of my application:
This is a gatling chart that shows 4 minutes of load testing. The first two minutes are warmup of the same scenario (thats why it has no latency graph).
Two triangles (sometimes more) with a nearly identical slope are clearly visible and reproducible across multiple test runs, no matter how many application instances we deploy behind our load balancer:
I am looking for more paths to investigate as I have a hard time googling for this pattern - it strikes me as particularly odd that this triangle is not "filled" but just consists of spikes. Furthermore the triangle feels "inverted": if this would be a scenario with ever-increasing load (which it isn't) I would expect to see this kind of triangle manifest with an inverted slope - this slope just doesn't make any sense to me.
Technical context:
Here is another image to demonstrate the "triangle" before we made some application-side optimizations to request latency:
This turned out to be a two-part issue:
asContextElement()
)While this does not explain the more than peculiar shape of the latency pattern it did resolve the main issues we had and the pattern is gone.