Open vineetshar opened 1 week ago
Hi @vineetshar, can i work on this issue? can you please assign me?
Yes @sarfarazsiddiquii this still needs to be done, sure you can pick it up. Let us know the plan of action here before you start implementing.
Hey @vineetshar
sure! I'll replace the current synchronous SQLAlchemy
queries with asynchronous queries using asyncpg
in database.py
. Then, I will update all the database interactions (mainly in the modules
directory) to use this new async approach.
Description: To improve the performance and responsiveness of our APIs and services, we should transition from synchronous database interactions to asynchronous ones. By adopting
asyncpg
as our database interface, we align with the goal of providing truly asynchronous interfaces and runtime for all APIs and services.Proposed Solution:
asyncpg
.Tasks:
asyncpg
capabilities and compatibility with our existing database structure.asyncpg
.asyncpg
.Acceptance Criteria: