Answer the question
In order to leave comments, you need to log in
Background sending emails in API?
Hello, I am writing an API and wondered if background sending of emails to the API is necessary? Say, if I call a view in the web client that sends a letter, and this operation is expensive, then the client will wait all this time?
Answer the question
In order to leave comments, you need to log in
Yes. It is better to throw the sending into the queue and process it separately. With the control of failed tasks, because the letter may not be sent for any reason.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question