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

set limit for concurrent tasks #156

Closed
felipao-mx opened this issue Dec 9, 2022 · 0 comments · Fixed by #160
Closed

set limit for concurrent tasks #156

felipao-mx opened this issue Dec 9, 2022 · 0 comments · Fixed by #160
Labels
bug Something isn't working

Comments

@felipao-mx
Copy link
Member

current fast-agave tasks implementation read a message from SQS queue and then tries to create a new task (asyncio coroutine). It works ok if there is a relative little amount of messages in the queue. But if there is thousands of messages fast-agave tries to create a new task for each message.

This is a bug that can lead to poor HTTP requests performance because the event loop will become flooded with tasks from the queue.

@felipao-mx felipao-mx added the bug Something isn't working label Dec 9, 2022
@felipao-mx felipao-mx mentioned this issue Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant