San Francisco
June 23, 2015

Tracking job status with ActiveJob

We'll implement a simple library to add job status, tracking, and batches to ActiveJob.

ActiveJob is a recent addition to Ruby on Rails that provides a nice abstraction for job processing libraries like Sidekiq. ActiveJob makes it easy to swap out job processing back ends without changing your code.

But it also makes it easy to add advanced features to job processing, and that's what we'll do in this RailsSchool. Imagine you have an application that needs to import or process a large file -- wouldn't it be nice to show the user the status of the job? Or maybe you have a batch of jobs that you want to make sure all get done together?

We will follow the implementation of ActiveJob Status, gem I wrote with the help of another RailsSchool teacher. In addition to learning about key-value stores and ActiveJob, we'll learn about ActiveSupport::Cache::Store and some cool testing techniques for gems.

Be sure to complete the following Codewars challenge before class! (If your RailsSchool profile includes your Codewars username, you'll get a nifty star if you complete the challenge.)
http://www.codewars.com/kata//santaclausable-interface/train/ruby



7pm Pacific - 9pm Pacific on June 23, 2015 at Noisebridge
7 students were there

Whiteboard

Please, sign in to see the Whiteboard

Watch Lesson