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

Research Throttling or Putting API Requests in a Queue #5758

Open
2 tasks
tmpayton opened this issue Mar 12, 2024 · 0 comments
Open
2 tasks

Research Throttling or Putting API Requests in a Queue #5758

tmpayton opened this issue Mar 12, 2024 · 0 comments

Comments

@tmpayton
Copy link
Contributor

What we’re after

One way to alleviate traffic would be to delay some requests from getting to the database. We should research if we can throttle or queue requests using redis and/or celery.

Note: this will probably be a heavy lift.

Action item(s)

(These are the smaller tasks that should happen in order to complete this work)

  • Research using redis and/pr celery to throttle or queue API requests

Completion criteria

(What does the end state look like - as long as this task(s) is done, this work is complete)

  • Research and next steps are documented

References/resources/technical considerations

https://realpython.com/flask-by-example-implementing-a-redis-task-queue/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant