2. Ben Scheirman
• Director of Development at ChaiONE
• Microsoft MVP, ASP Insider
• Certified ScrumMaster
• Former .NET Ninja, now Rails/iPhone
aficionado
2
62. Delayed Jobs
def send_bulk_emails
BulkEmailSender.send_a_ton
flash[:notice] => "Ok we sent them"
end
def send_bulk_emails
BulkEmailSender.send_later(:send_a_ton)
flash[:notice] => "Ok we sent them"
end
41
68. Delayed Jobs
$0.05 per hour / worker
(even when it's not processing Jobs)
http://github.com/pedro/delayed_job/commit/
09d7657e1fc7d25072e6c5e73ede20d6e1185eac
http://bit.ly/9Qokff
43