0

Symfony 2.8

Using https://github.com/j-guyon/CommandSchedulerBundle to manage periodic Command executions.

Each of these Command executions invokes an specific Service based on the Command arguments.

Being in the Services (all of them implementing the same Interface and extending an Abstract class), the plan is to create and execute sub-processes (asynchronously if possible)

Based in your experience, which will be the best way to deal with that sub-processes?

Cheers!

2
  • 1
    Running subprocesses in PHP is not best idea to go. I think using a queue with separated consumers is the best option. It's also will decouple your code. Look at symfony.com/doc/current/components/messenger.html Commented Jul 16, 2020 at 15:17
  • Thanks for your answer. I will check out some option that fits our symfony 2.8. Cheers! Commented Jul 27, 2020 at 7:49

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.