Spike: Email invites for large project potentially causing performance issues
dottorer opened this issue · comments
Ralf Schroeder commented
Ralf Schroeder commented
@phillipoertel Do you think this could be a recurring pattern for Mandrill calls? The Rails app failed when the Mandrill service took too long, but the email were in the end sent (in Mandrill logs).
Phillip Oertel commented
It would be best to always send the invitations asynchronously. Maybe Mandrill supports that out of the box; if not, use a queue system like delayed_job or sidekiq. Both can be used through Rails' ActiveJob interface, IIRC.
Ralf Schroeder commented
Closing based on @phillipoertel's research of options with decision to implement sidekiq worker process for delayed email delivery. See implementation in #449.