Sidekiq Lab

Objectives

  1. Move a long-running task to Sidekiq

Overview

In this lab, we're going to add Sidekiq to the song library so that we can upload a CSV of songs and artists in a background worker.

You will find a CSV of classic rock songs and artists in db\songs.csv. Use it to test your work!

Note: This list is provided by FiveThirtyEight and is available under Creative Commons Attribution 4.0 International License.

Instructions

  1. Use Sidekiq to process the songs csv upload with a SongsWorker background worker.
  2. Make sure tests pass!

Note The sidekiq gem has been included for you in the Gemfile. Note This is a working application so there are some tests intentionally passing already.

View Sidekiq Lab on Learn.co and start learning to code for free.