Skip to content
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

Support for AWS Batch Consumable Resources #5917

Open
exai-sukh opened this issue Mar 24, 2025 · 1 comment
Open

Support for AWS Batch Consumable Resources #5917

exai-sukh opened this issue Mar 24, 2025 · 1 comment

Comments

@exai-sukh
Copy link

exai-sukh commented Mar 24, 2025

New Feature

AWS has introduced a new feature for AWS Batch, called "Consumable Resources". It would be great if Nextflow's AWS executor could support this. You may see additional details in the AWS blog post How to use rate-limited resources in AWS Batch jobs with resource-aware scheduling.

Use Case

I have workflows which need staggered submissions to reduce the likelihood of throttling errors. This feature would resolve such issues.

Suggested Implementation

Specify ConsumableResourceProperties within the process directive. This could be added to the SubmitJobRequest in

protected SubmitJobRequest newSubmitRequest(TaskRun task) {

@bentsherman
Copy link
Member

If it's a new feature then it's likely only available in AWS SDK v2, which we haven't upgraded to yet. We plan to do that this year.

In the meantime, we do have some retry-with-backoff logic to handle rate limit errors. Is that not working for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants