Reputation: 38900
Hi I send out an email every time that someone follows another person in my web app. This significantly slows response time down because the ajax isn't rendered until the email is sent through the mailer. Is this a case where I use a background job? I'm unfamiliar with the use case for background jobs and am wondering, if this is the scenario to use it in, where to start.
Upvotes: 1
Views: 74
Reputation: 17735
That's a perfect scenario for background jobs. Some general gems for background jobs would be
More options in this question: How to implement a mailing system with Rails that sends emails in the background
Upvotes: 2