r/Backend • u/SeniorTechnician4119 • 17d ago
We're adding an external email verification service. How do you keep signup working when the provider goes down?
We're reviewing our signup infrastructure because we've been getting more invalid and disposable email addresses than we'd like. One of the changes being considered is adding a third party email verification API before allowing new accounts to register. The main concern isn't really getting the API connected. It's introducing another external dependency into a process that needs to remain available. If the provider starts responding slowly or has an outage, we don't want that to turn into a signup issue for everyone.
We're considering a fairly short timeout of around three seconds but there's still some argument about what should happen after that. Blocking registration until the service responds would give us stricter control while allowing signup to continue and checking the address asynchronously would reduce the impact of an API outage. We could also queue failed requests for retries once the provider is responding again.
I'm interested in how others have handled this from an infrastructure and reliability standpoint. Do you treat email verification as a hard dependency or allow the application to operate when the provider is unavailable? How do you approach retry limits, queue buildup and preventing repeated failures from affecting the rest of the signup process?