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.
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: