Re:What Kind of Asynchronous Is Right for You?
by ericbarrett on Saturday June 17, 2023 @01:03PM
(#36372067)
MessagingService includes its queue depth, or age, to LoginService in the enqueue response. If over $threshold, LoginService tells UI to add a parenthetical "(our email is backed up but you'll get it soon)" notice. Add alerting around high queue depth and I think you've buttoned this up.
[ Parent
| on HN ]
Re:What Kind of Asynchronous Is Right for You?
by iudqnolq on Saturday June 17, 2023 @01:07PM
(#36372093)
Agree that's another way to solve it. Treating password reset emails as transient, erroring, and not enqueuing would also work and might be simpler.
Re:What Kind of Asynchronous Is Right for You?
by ericbarrett on Saturday June 17, 2023 @02:28PM
(#36372978)
For sure, guess it depends on the volume of the service and balancing customer support vs. engineering effort.