This PR contains an update to the existing code architecture. There are no breaking changes as only updates, improvements, and code fixes have been done.
Please take a look at the various file changes and commit messages as well.
Significant change
In place of using the default uvicorn, I have introduced the use of gunicorn to enable load balancing and increase the efficiency of the API. This is in a bid to handle multiple requests at one time as the four ( 4 ) workers are setup for the API by gunicorn
An example of what workers are and how they work is explained in this article.
This PR contains an update to the existing code architecture. There are no breaking changes as only updates, improvements, and code fixes have been done.
Please take a look at the various file changes and commit messages as well.
Significant change
In place of using the default
uvicorn
, I have introduced the use ofgunicorn
to enable load balancing and increase the efficiency of the API. This is in a bid to handle multiple requests at one time as the four ( 4 ) workers are setup for the API bygunicorn
An example of what workers are and how they work is explained in this article.