POST request on .NET Elastic Beanstalk instance takes longer than GET on similar operation

0

My POST requests to my Elastic Beanstalk instance take a lot longer (over a minute) than my GET requests even though I have them doing the same thing. I created an experiment where the POST request and GET request both read the same thing from my RDS service (which is in a private subnet) and the POST requests take significantly longer. Does anyone know what might be the issue here?

I deployed a .NET Core 3.1 app to an Elastic Beanstalk 64bit Windows Server Core 2019 v2.9.0 instance running IIS 10.0 on my public subnet which reads data from an RDS Postgres instance on a private subnet within a custom VPC. In order to send HTTPS requests, I have this instance behind the classic load balancer and my custom domain name has a CNAME record pointing to the load balancer DNS record.

  • Hi, We need to analyze your workload to solve the problem. Can you publish and disclose the minimum reproduction code?

1개 답변
0

Hello,

Beanstalk launches regular compute resources in your account (EC2, load balancers,...) so it's pretty unlikely that the Beanstalk itself is the cause of this behavior.

Do you have application traces that could show what the time is spent on?

AWS
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠