Resque
Upcoming SlideShare
Loading in...5
×
 

Resque

on

  • 1,417 views

 

Statistics

Views

Total Views
1,417
Views on SlideShare
1,417
Embed Views
0

Actions

Likes
0
Downloads
13
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Resque Resque Presentation Transcript

  • Resque
  • Asynchronous Processing
  • Two popular options • DelayedJob • Resque
  • DelayedJob • http://github.com/tobi/delayed_job • ActiveRecord based • BatchImporter.new(Shop.find(1)).send_later (:import_massive_csv, massive_csv)
  • Resque • http://github.com/defunkt/resque • Redis based • Battle tested at GitHub
  • Usage class Converter @queue = :conversion def self.perform(id) ... end end Resque.enqueue(Converter, 123)
  • Invoking QUEUE=:conversion rake environment resque:work
  • Sample App • http://github.com/joerichsen/resque_demo
  • Misc • MySQL has gone away - http://axonflux.com/resque-to-the-rescue-but-a-gotcha-dont-forget • Deployment and Capistrano • Priorities • Namespaces
  • Mailers specifically • http://github.com/zapnap/resque_mailer • http://github.com/andersondias/ delayed_job_mailer