-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE REQUEST] Jobs aggregation #550
Comments
Might be a duplicate of #453 |
This one's WIP and coming very soon. |
Let me close this one since it's a duplicate. |
@krhubert actually I wonder if you might be able to provide some more context on how you’re looking to use job aggregation / grouping / batching? I’ve read your linked issue on Asynq, not sure if that reflects your current use case. Mostly curious what timeframe you’re looking to batch over, whether and how you’re wanting to partition your batches, etc. |
@bgentry I'm unsure if I can share details in the public discussion, but I can give more specific overview in the private conversation. I can hop on a call to talk or join slack/discord if you have some. Let me know if that is something you are interested in.
My usecase is very different from what I shared in the issue, although the aggregate feature described in the issue solves the problem. The timeframe I use right now:
I don't partition them - If we think about the same partitioning - because to me it can happen before adding a job, and after aggregation. I know this context might not give you full visibility. |
I think this maybe hints at what I was asking about partitioning. Essentially I'm trying to understand what criteria you want to use to group your jobs, whether it's merely about grouping any jobs of the same kind, or if you want to group on some other attrs. I also sent you an email to try to connect another way about details you don't wish to post on GitHub. Cheers ✌️ |
I wonder if this feature is on your roadmap.
TL;DR;
Job aggregation allows you to enqueue multiple jobs successively, and have them passed to the Worker together rather than individually. The feature allows you to batch multiple successive operations into one.
You can see the usecase and the original PR:
hibiken/asynq#339
Final docs
https://github.com/hibiken/asynq/wiki/Task-aggregation
The text was updated successfully, but these errors were encountered: