<div dir="ltr"><div>> Out of curiosity, why split it into more processes?</div><div><br></div><div>I had the same question and Danny's goal in this is to modularize the app such that if someone were to bring their own instance of FxA up and didn't want to use the SNS account deletion logic, it would be a seperate process that they wouldn't run.</div>
<div><br></div><div>> Can't the FxA system publish the delete event directly to SQS? </div><div><br></div><div>It could, yes.</div><div><br></div><div>> On the other hand, what if the process that sends delete events to SQS goes down for a few hours, are the delete events lost? Does the site not let you delete your account until the process comes back?</div>
<div><br></div><div>Hopefully we can manage the process with circus to keep it up and running but this is a good question.</div><div><br>Thanks for the suggestions, I'll pass these thoughts onto Danny and see what we can come up with.</div>
<div><br></div><div>-Gene</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Mar 21, 2014 at 5:00 PM, Ryan Kelly <span dir="ltr"><<a href="mailto:rfkelly@mozilla.com" target="_blank">rfkelly@mozilla.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 22/03/2014 6:17 AM, Ben Bangert wrote:<br>
> On Mar 21, 2014, at 11:19 AM, Gene Wood <<a href="mailto:gene@mozilla.com">gene@mozilla.com</a>> wrote:<br>
><br>
>> FxA Auth is in the early stages of being broken out into multiple modular components. The first component to be broken into its own process is a notifier to be used to publish account deletion events to an AWS queue allowing other services to be notified of user account deletions so they can perform account deletion cleanup when a user deletes their account in FxA. An expected upcoming second modular process to be broken out is the component which sends email to users for account activation and forgotten passwords.<br>
><br>
> That'd be handy for some of our services that want to know when a user is deleted. I could see using the SNS-SQS for fan-out of deletion events to any interested services.<br>
<br>
</div>Yep, that's the high-level plan, if you have additional thoughts or<br>
use-cases please feel free to weigh in on the corresponding bug:<br>
<br>
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=971907" target="_blank">https://bugzilla.mozilla.org/show_bug.cgi?id=971907</a><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
Ryan<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Dev-fxacct mailing list<br>
<a href="mailto:Dev-fxacct@mozilla.org">Dev-fxacct@mozilla.org</a><br>
<a href="https://mail.mozilla.org/listinfo/dev-fxacct" target="_blank">https://mail.mozilla.org/listinfo/dev-fxacct</a><br>
</div></div></blockquote></div><br></div>