title: AWS Lambda Function has occassional huge 10 minute gaps between initialization and invocation
body: <p>We have a lambda setup which will occasionally take ten minutes between initialization and invocation, leading to severe performance degradation of the apps that depend on it. The lambda request is handled by API gateway, sent to the Lambda Context for our handler, and then sent to the lambda function itself. At this point it looks like the lambda is initialized, but will take anywhere from 1 to 10 minutes to invoke for the slow performing requests.</p>
  <p>Provisioned concurrency seems to address the cold start problem, but we cant seem to find any indication that concurrency is the problem. Furthermore, we have no reason to believe this is a cold start problem, given that the request takes 10 minutes, versus 10 seconds. I have no idea where to start to address this problem. Can someone give me some tips?</p>
  <p><a href="https://i.stack.imgur.com/g4vHh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/g4vHh.png" alt="enter image description here" /></a></p>