I'm looking to use a classic load balancer with my single EC2, but initial requests are ~1.5 minutes. Then for the next 300 seconds, requests are fast and responsive.
Is it required to have my EC2 in more than one subnet?
As for your question, to my knowledge, the problem you're facing happens during releases or fresh deployment of the load balancers. CLBs have a warm-up time where the EC2 instances gets attached to the load balancer and pass health checks.
What about the underlying application? Does it lazy load data? What's the idle timeout configured on your load balancers?
You gotta give these things a lookover too ...
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
@mayank , thank you so much for the write up!
I'm looking to use a classic load balancer with my single EC2, but initial requests are ~1.5 minutes. Then for the next 300 seconds, requests are fast and responsive.
Is it required to have my EC2 in more than one subnet?
Thanks
Thanks, Ben.
As for your question, to my knowledge, the problem you're facing happens during releases or fresh deployment of the load balancers. CLBs have a warm-up time where the EC2 instances gets attached to the load balancer and pass health checks.
What about the underlying application? Does it lazy load data? What's the idle timeout configured on your load balancers?
You gotta give these things a lookover too ...