-
-
Notifications
You must be signed in to change notification settings - Fork 310
Make all endpoints async #232
Copy link
Copy link
Closed
Labels
help wantedExtra attention is neededExtra attention is neededperformanceIssue related to performance and optimizationsIssue related to performance and optimizations
Milestone
Description
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is neededperformanceIssue related to performance and optimizationsIssue related to performance and optimizations
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.
asynckeyword 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