Web Dev Cody
Web Dev Cody2y ago

how are actions scaled up?

Let’s say I wanted to run thousands of actions, to process data concurrently. Would there be any limits I’d hit with this? I assume actions just use some type of queue behind the scene?
3 Replies
jamwt
jamwt2y ago
Actions run in parallel. There’s is a concurrency limit per account to prevent runaway jobs like fork bombs from taking things down and costing you a ton of money.
Web Dev Cody
Web Dev CodyOP2y ago
@jamwt so would you say I should schedule jobs with some artificial time in between to prevent issues? so like schedule using runAfter(idx * 200) or something?
jamwt
jamwt2y ago
Fire away! We manage concurrency limits and queue things so you don’t get out of control. If you run into problems let us know. But ideally you don’t have to worry about this.

Did you find this page helpful?