Skip to content

Make all endpoints async #232

@Kilo59

Description

@Kilo59

To increase the throughput of the API we need to make our routes None blocking.

Methods and dependencies used by the endpoints also need to be non-blocking (where possible).
This is probably the best place to start.

⚠️ Do not simply add async keyword to the current endpoints.

I will update this issue with details.

Resources

https://www.encode.io/articles/hello-asgi
https://fastapi.tiangolo.com/async/#concurrency-and-async-await

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededperformanceIssue related to performance and optimizations

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions