3 ms·
In larger systems that could be a reasonable way to build things. Keeping email addresses in the "auth" microservice which has tighter security - blocking secu
by simonw 6y ago
In larger systems that could be a reasonable way to build things.
Keeping email addresses in the "auth" microservice which has tighter security - blocking security team code reviews, a smaller team who are allowed to modify it for example.
- hinkley 6y agoRight? And especially in these event stream architectures we like to use now. We still use outbound mail queues don't we, if for no other reason than to control the blast radius of any bugs in the system. I don't need to send you a mail, I need to tell the system that handles mail to send you a mail. As long as I spend a small amount of care on avoiding the Confused Deputy scenario (eg, open relay), that would work better and contain much of the PII to a low-traffic (network and, as you say, code delta) system.