How do I set my aws fargate runs correctly? #3592
nithish-enk
started this conversation in
Artillery
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Everyone,
I am facing an issue with setting aws fargate runs (I am running tests using playwright/artillery)
Below are the full details
As per recommendation in https://www.artillery.io/docs/playwright#resource-recommendations
Calculation:
1 vCPU per VU
1 gb per 1 vcpu
600 secs * 10 per sec = 6000 vCPUs
6000 GB
16 vcpus per task => 375 tasks (with 16 vcpus, 16 GB of memory)
So I tried using below
--launch-config '{"cpu": 16384, "memory": 32768}' --count 375
Problem:
When I use 375, 375 AWS fargate tasks are created. (There is confusion on what count corresponds to. In doc it says count corresponds to load generator containers, but these are AWS fargate tasks right?)
But since I have used 375 as count, total vu users are multiplied by 375. (i.e instead of 6000 I am seeing 6000*375 total vusers)
I see from https://www.artillery.io/docs/reference/cli/run-fargatecount that count will multiply load by a factor.
But without using count how do I scale resources?
Beta Was this translation helpful? Give feedback.
All reactions