@jardo durable, async, retryable work orchestrated via queuing is definitely nee...

@ismasan@ruby.social

@jardo durable, async, retryable work orchestrated via queuing is definitely needed! My peeve is about the details of the execution mechanism (controller action vs background job vs CLI task etc) being front and centre in the domain code.
Ultimately, you have a domain operation that you want to run. Whether triggered by an HTTP request or handed off to a queue shouldn’t need to affect how the operation itself is written, or how different operations are composed into workflows.