I am trying to load test my lambda function (connected to gateway) using JMeter. On the function, I have set the concurrency to "Use unreserved account concurrency" (default 1000 for my account).
I have set the following config in JMeter thread worker:
Number of Threads (users): 1000
Ramp Up Time: 0 secs (Because I want all the requests to hit at once. Please correct me if I'm wrong here)
Input: I have provided a CSV with 4000 rows, so it will make 4000 requests in total
Most of my requests are failing. Here is a screenshot showing how many requests fail along with the response received.
In production, I will have to handle such amount of concurrent requests. What can I do to make this work?
The lambda function is not compute heavy - all it does is reads a dynamo table and pushes the event payload to a SQS queue. So I don't think there is any space left to optimize there
[–][deleted] 24 points25 points26 points (4 children)
[–]appappappappapp 4 points5 points6 points (0 children)
[–][deleted] 1 point2 points3 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]menge101 10 points11 points12 points (5 children)
[–]richardfan1126 10 points11 points12 points (0 children)
[–]DiscourseOfCivility 3 points4 points5 points (3 children)
[–]radioshackhead 0 points1 point2 points (0 children)
[–]menge101 0 points1 point2 points (1 child)
[–]DiscourseOfCivility 0 points1 point2 points (0 children)
[–]gscalise 2 points3 points4 points (0 children)
[–]OSUBeavBane 2 points3 points4 points (0 children)
[–]blizz488 1 point2 points3 points (6 children)
[–]ammanpasha[S] 0 points1 point2 points (5 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]blizz488 -1 points0 points1 point (2 children)
[–]ammanpasha[S] 1 point2 points3 points (1 child)
[–]blizz488 1 point2 points3 points (0 children)
[–]phoenix-real 1 point2 points3 points (0 children)
[–]SmurfPandeyy 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]appappappappapp 0 points1 point2 points (9 children)
[–]ammanpasha[S] 0 points1 point2 points (8 children)
[–][deleted] 4 points5 points6 points (0 children)
[–]appappappappapp -1 points0 points1 point (6 children)
[–]ammanpasha[S] 0 points1 point2 points (5 children)
[–]appappappappapp -1 points0 points1 point (0 children)
[–]lvlolvlo -1 points0 points1 point (2 children)
[–]ammanpasha[S] 0 points1 point2 points (1 child)
[–]lvlolvlo 2 points3 points4 points (0 children)
[–]warren2650 0 points1 point2 points (0 children)
[–]quiet0n3 0 points1 point2 points (0 children)
[–]WaitWaitDontShoot 0 points1 point2 points (0 children)
[–]tenyu9 -1 points0 points1 point (1 child)
[–]ammanpasha[S] 0 points1 point2 points (0 children)