API latency in EB (Elastic Beanstalk)


Hello, I am using Elastic Beanstalk for my environment, and I found out API latency recently. I was investigating what things happened and found out there was scaling in on that time.

I would like to know the action (which is scaling in this time) could be the cause of the API latency? What if that is right, is it always happened when autoscaling work like in and out? Or there is other cause could be existed?

asked 2 years ago275 views
1 Answer

Unfortunately, anything would be speculation without data. Do you instrument the latency you have from your service (commonly known as time to first byte)? Do you measure your latency between your application and your database? Do you use the logs to identify the latency between the load balancer the application? Which load balancer are you using? Are you looking at the available metrics there (depending on whether it is CLB or ALB)? The way to get your answer is to instrument all of this, then look at causes.

profile pictureAWS
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions