I'm trying delayed_job
now, and have some questions.
From the http://github.com/collectiveidea/delayed_job page, I can see some information:
Workers can be running on any computer, as long as they have access to the database and their clock is in sync. Keep in mind that each worker will check the database at least every 5 seconds.
When I invoke
rake jobs:work
once, it will create ONE worker, right?When a worker checks the database, it will read ALL new and failed tasks EACH TIME, and run them?
it says a worker will check the database every 5 seconds, can I make it 2 seconds?
When I create a worker(
rake jobs:work
), there are already 10 tasks in the database, and each will take 3s. How many processes will DelayedJob create? And how many seconds need in total?