AWS-Cloud-Community-LPU / mailing-service

Official Mailing Engine for AWS Cloud Community-LPU
MIT License
1 stars 1 forks source link

Add Queue Based Implementation on Sending Registration, Deregistration for OTPs #155

Open garvit-joshi opened 1 year ago

garvit-joshi commented 1 year ago

Currently, While registration and deregistration, APIs are facing latency due to Sending OTPs to email at the time of user creation and de-registration.

We will be adding a queue-based solution where the registration and de-registration process will add an object to a queue that will contain the user's email, username, and his/her's OTP. This queue then will be picked up by a scheduler which will send OTPs asynchronously, through virtual threads.

References:

garvit-joshi commented 1 year ago

Testing Open PR GitHub Action

garvit-joshi commented 1 year ago

!