Find answers, ask questions, and connect with our
community around the world.

Home Forums AWS AWS Certified Developer Associate Lambda and concurrent execution quotas

  • Lambda and concurrent execution quotas

  • ClaireS

    Member
    March 24, 2021 at 12:23 am

    Hi all, I don’t understand the rationale given for a particular question. It’s to do with Lambda scaling approach and concurrent executions. The rationale includes the following:

    You can use this formula to estimate the capacity used by your function:

    concurrent executions = (invocations per second) x (average execution duration in seconds)

    However, when I read the documentation, I understand that Lambda will start a new instance for each new invocations until it reaches a concurrency limit (assume this is after the initial burst)

    <div>I don’t understand where the above formula comes from? Any further help to understand greatly appreciated.
    </div><div>

    </div>

    Thanks all,

    Claire

  • Carlo-TutorialsDojo

    Member
    March 25, 2021 at 1:06 am

    Hello Claire,

    Thanks for posting your question.

    Could you provide the exact question or a screenshot of the question that you’re referring to?

  • ClaireS

    Member
    March 25, 2021 at 4:53 am

    Hi Carlo,

    Thanks for your reply. I can answer my own question now 🙂

    It was Review Mode Set 1 – AWS Certified Developer Associate > Question 19 (see attached)

    I understand how the formula in the rationale given is working (I got the answer right; I just didn’t follow the rationale).

    It was best for me to consider a timeline: 1s = 10 invocations, 2 = 20, 3 = 30, 4 = 40, … , 10 = 100, and thereafter the formula roughly works out (as this is all averages in any case). Therefore,

    = 10 invocations per second * 10 seconds average duration

    = 100 concurrent executions (after 10 seconds…)

    Thanks,

    Claire

    • Carlo-TutorialsDojo

      Member
      March 26, 2021 at 1:14 am

      Hello Claire,

      Thanks for the follow-up.

      That’s great to know. Grinning

      Let me know if you have other queries.

      Regards,

      Carlo

Viewing 1 - 3 of 3 replies

Log in to reply.

Original Post
0 of 0 posts June 2018
Now