rack-worker - Easy worker pattern implementation for Rack

Rack::Worker is a simple project from Heroku’s Chris Continanza for serving up results from backgrounded processes in Rack:

class  App < Sinatra::Base
  use Rack::Worker

  get '/long_ass_request' do

The server serves up HTTP 202 responses until the background job is finished, and then it serves up the results of your job. It ships with integration for Dalli and queue_classic out of the box.

News Films

Our little film studio focuses on telling developer-centric stories that need to be seen.

Beyond Code: Season 3 / GopherCon 2015

0:00 / 0:00