Replies: 1 comment 2 replies
-
|
The only drawback is that you can't run a callback when the entire workflow is done. A success callback on step3 is similar but implicitly assumes it is part of the batch workflow which can cause other issues (like testing it outside of a workflow). |
Beta Was this translation helpful? Give feedback.
2 replies
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,
I'm currently working on a workflow using Sidekiq Batch. My current implementation is simple, similar to this:
This approach meets my current needs for sequential task execution, and I found the order of execution is correct. However, I've noticed the "Really Complex Workflows with Batches" pattern in the documentation.
My questions are:
What are the main advantages of using the Complex Workflows approach over a simpler implementation like mine?
In what specific scenarios would the Complex Workflows pattern be necessary or significantly beneficial?
Are there any performance implications or scalability concerns when choosing between these approaches?
For someone starting with Sidekiq Batch, would you recommend beginning with a simpler approach, or is it better to adopt the Complex Workflows pattern from the start?
I notice that there is a parent_bid associated with child batches, but in my case, it doesn't seem necessary to use it.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions