News for hackers. Stuff that matters.
Re:Rescuing Resque again (2015) by whatupdave on Friday January 15, 2016 @01:34PM (#10911127)
I almost alway use Que [1] now. It uses postgres advisory locks instead of Redis so one less dependency to worry about. You probably only need Redis if you're running a tonne of jobs.

[1] https://github.com/chanks/que

Re:Rescuing Resque again (2015) by bdcravens on Friday January 15, 2016 @01:45PM (#10911217)
If you're already using Resque (the audience for the blog post), you're already using Redis, so Sidekiq would make more sense. Additionally, a quick glance at the syntax for a que job appears that you'd need to change more code (I could be wrong), and the available UI seems to lag Sidekiq's.

Reading this: "Que's job table undergoes a lot of churn when it is under high load, and like any heavily-written table, is susceptible to bloat and slowness if Postgres isn't able to clean it up. The most common cause of this is long-running transactions, so it's recommended to try to keep all transactions against the database housing Que's job table as short as possible." I wonder what consistutes "high load". I throw hundreds of thousands of jobs atop Sidekiq often; if you're using the same database to manage your jobs, it seems that would dogpile your database (since each of those jobs is likely making db calls, and if it's a Rails app, you're typically using the same database)

Re:Rescuing Resque again (2015) by callmeed on Friday January 15, 2016 @03:02PM (#10911711)
Rails 5 will require Redis so in the future it will be a dependency anyway ...
Re:Rescuing Resque again (2015) by djur on Friday January 15, 2016 @06:17PM (#10913024)
Rails 5 does not require Redis unless you want to use Action Cable.