Logo

The latest news in the Ruby and Rails community.

Subscribe to our mailing list!

Episode #276

May 29th, 2012

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 Tal...

Stories

Kill stuck Resque workers

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.

Visit site → Permalink

Previous Episodes

Episode #275

The Objectify framework, use rake everywhere, big news from JRuby, some Rails console tips, Jasmine testing knowledge and finally, never get lost again thanks to Sextant.

Episode #274

Dimension your Rails under a microscope, Open the struct2 for ActiveRecord reputation, and assign values to a figleaf.

Episode #273

Devise 2.1, running your uncommitted rspecs, feeling dirty with soap, grabbing data out of Google spreadsheets, and more in this edition of Ruby5

Episode #272

We look at easier schema-less hstore on Postgres, Ruby versions in your Gemfile, and Skype in your app. We learn how to DRY better, build a Gem from scratch, build a book without scratching yourself and how to binge on Code School for free.

View the archives →

Looking to learn about Ruby? Take a look at the Ruby Path on Code School

This podcast is produced and distributed by Code School. Copyright © 2015 Code School LLC