5:33 Play Subscribe with or Intro song by Falseta

Episode #276 - May 29th, 2012

E1574ab5d4fc1e9178987de73c8f3c07.jpg?s=18&r=pg&d=http%3a%2f%2fwww.gravatar.com%2favatar%2f8ebf4339f7c8cd73b53d1d1d3eba7c35 Eric Allam 9c5541e591a62dd93a2fd2d45b5732dd.jpg?s=18&r=pg&d=http%3a%2f%2fwww.gravatar.com%2favatar%2f8ebf4339f7c8cd73b53d1d1d3eba7c35 Olivier Lacan

We put our Claws on AWS, resuscitate Resque workers, make Little Classes out of Big Ones while Cedar goes GA, Dokuen gives you your own little Heroku and your Ruby Talks creepy to you.

Subscribe to our mailing list!

This episode is sponsored by RailsThemes.com. Curated, well thought-out designs optimized for Rails projects and the gems and frameworks you already use.

  • Rails Themes
  • Claws
  • Stuck Resque
  • Little Big Classes
  • Cedar goes GA
  • Dokuen
  • Talks
  • Ruby5

Kill stuck Resque workers Jump to Story

ito Botta sent us a note about a Bash script he wrote that automatically kills stuck Resque workers and retries failed job. He noticed that out of the 160 million jobs he had been running, 43,000 had failed and most of them had been retried successfully except for a few thousand who were simply stuck because of excessive load, networking issues or simply race conditions. Using shell commands, this script kills the stuck Resque workers and retries the corresponding failed jobs. Apparently, this helped him keep things stable enough to not have to intervene manually in production.

October 16th, 2014

Unary Operators, Writing fast Ruby, each_with_object, ES6 Transpiler and HStore

October 14th, 2014

RailsRumble, Ruby Motion for Rails devs, how Ruby Hashes work, how to deal with data migrations, clean up your routes file, and get better logs.

October 7th, 2014

Rails data migrations, tools for optimization, Bundler::Updater, using UUID with Postgres, 20,000 Leagues Under Active Record, and Ruby 2.2.0

October 3rd, 2014

Greenscreen.io, rails-disco, onboarding your junior devs, being a better Rubyist, staging environments, and the anti-pattern of absolutes all in this episode of the Ruby5.