Footage of my presentation at RubyFuZa2013

jRuby and Torquebox

jRuby: The best of both worlds

Impossible is just a big word thrown around by small men who find it easier to live in the world they’ve been given than to explore the power they have to change it. Impossible is not a fact. It’s an opinion. Impossible is not a declaration. It’s a dare. Impossible is potential. Impossible is temporary. Impossible is nothing. http://quotevadis.com/post/4046940916/impossible-is-nothing

RubyOnBeer Ohm presentation

Did a presentation at last night’s RubyOnBeer meetup. Went to Higher Ground at Saints - really cool venue.

Redis, Resque & Friends

I recently did a presentation at the RubyFuZa 2011 ruby conference down in Cape Town. Cant wait for RubyFuZa 2012 :)

Check out the slides and let me know what you think.

Retry and clear failed Resque jobs

This is for posterity’s sake :)

Retry all jobs:

(Resque::Failure.count-1).downto(0).each { |i| 
  Resque::Failure.requeue(i)
}

Retry jobs for a particular worker:

(Resque::Failure.count-1).downto(0).each { |i|
  payload_class = Resque::Failure.all(i)['payload']['class'] 
  Resque::Failure.requeue(i) if payload_class == 'MyWorker' 
}

Clear failed jobs:

Resque::Failure.clear

You get the idea :P