Skip to content

A minimalist Rails application created to test background workers on Engine Yard Cloud

Notifications You must be signed in to change notification settings

engineyard/rails_activejob_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rails_activejob_example

This is a minimalist Rails application created to test background workers on Engine Yard Cloud.

Usage

Generate jobs

To generate 100 jobs:

ECHO_JOB_COUNT=100 bundle exec rake echo:generate

Switch the ActiveJob backend

DelayedJob, Resque and Sidekiq are already in the Gemfile. To switch the ActiveJob backend, modify config/application.rb. Uncomment one backend and comment out the lines for the other backends.

config.active_job.queue_adapter = :sidekiq
#config.active_job.queue_adapter = :delayed_job
#config.active_job.queue_adapter = :resque

About

A minimalist Rails application created to test background workers on Engine Yard Cloud

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •