• Resolved shouldnotregister

    (@shouldnotregister)


    Hi Everyone, I am a little confused here on how to implement for our use case.

    We have an app, that needs to call 7 different API end points,
    Each endpoint, has between 3-5 different requests which need to be made.

    Now, I want all 7 end points to run at the same time,
    Is this what action scheduler is designed to do?

    I am finding that it is still slow, and that I feel we could be calling more APIs at the same time. I feel we are only calling 2-3 apis as a time.

Viewing 1 replies (of 1 total)
  • Plugin Author Jorge A. Torres

    (@jorgeatorres)

    Hi @shouldnotregister,

    Thanks for reaching out. While Action Scheduler can indeed process batches of actions concurrently, there’s no guarantee that the actions you’ve scheduled are run in parallel. Also, by default, only one concurrent batch is executed, to prevent using up your web server processes or max available connections. This behavior can be tweaked via a filter, as indicated here: https://actionscheduler.org/perf/#increasing-concurrent-batches. The page also contains other usage tips that might be useful for your use case.

    Hope the above helps. Feel free to reach out if you have any further questions.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.