0.0
No commit activity in last 3 years
No release in over 3 years
Auto scaling job workers for delayed_job_active_record
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 3.1
= 1.0.0

Runtime

 Project Readme
Aim:

  > Provide an automatic way of scaling workers for processing queues
  > A common framework for using workers of different backends
  > Pluggable architecture for plugging in different workers(DJ, resque etc)
  > Auto scale plugin to be reused by different implementations

Dependency:

  > usagewatch

Drawbacks:
  > Currently supports only Linux machines

Plan:
  > Auto scale Adapter
  > Pluggable architecture
  > Common Framework
  > Rake tasks
  > Capistrano integrations
  > Configuration settings
  > DJ integration
  > Notification support
  > Tests
  > Documentation
  > Heroku

Steps:

require 'scale_workers'

ScaleWorkers.configure{|config| config.count_procedure = lambda{|queue, max| p 'count'; return 5 } }
auto_scale = ScaleWorkers::AutoScale.new
auto_scale.monitor