Java Backend – Azure App Service Scaling Issue

Hey everyone!!

I have an Azure App Service that runs a Java Spring Boot app.

Even though I’ve set up autoscaling based on CPU and memory, API response times go up during peak hours.

I tried increasing the number of instances and turning on always-on, but the slowdowns still happen from time to time.

Has anyone else had problems with Java apps on App Service? I’m not sure if it’s a problem with the settings, the GC tuning, or something else.

Any tips or ideas for how to deal with sudden traffic spikes would be helpful.