Project

mongojob

0.0
No commit activity in last 3 years
No release in over 3 years
MongoJob is a MongoDB-backed Ruby library for creating background jobs, placing those jobs on multiple queues, and processing them later.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

MongoJob

MongoJob is a job queuing system inspired by Resque, and using MongoDB as a backend.

MongoJob is specifically designed to handle both long and short-term jobs.

Current features and status

  • Persistent, database-backed queues and jobs
  • Worker based on EventMachine
  • Multiple ways to invoke jobs by the worker: process forking, fiber (for non-blocking jobs), blocking (in-line)
  • Pinging and reporting - workers report status every few seconds
  • Jobs with status - jobs can report progress and set custom status
  • Web interface with current workers, jobs etc.

Still TODO

  • MongoJob-deamon that monitors workers and jobs, kills timed-out ones
  • Job rescheduling upon failure
  • Cron-like job scheduling
  • More complete web interface
  • Command-line interface
  • Documentation

Warning

The library is in early stage of development. If you are looking for a robust job scheduling system, I bet Resque is much more stable now and I highly recommend it to anyone.