Skip to content

Research Throttling or Putting API Requests in a Queue #5758

Open

Description

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

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status

      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions