disc
disc copied to clipboard
Simple Disque-powered Ruby Jobs
So, we use Disque for two things at the moment: - performing long-running tasks of our ruby app in the background - message queue between our ruby and golang apps...
Having a conversation with @frodsan it came up that he'd like to have a clustered mode [similar to Puma's](https://github.com/puma/puma/#clustered-mode) so that he can benefit from running multiple processes easily and...
The way to add configuration to Disc - [`Disc::Job#disc`](https://github.com/pote/disc/blob/2fbc6c8f3795a2a0b54fbe814a2b2bafce1dd288/lib/disc.rb#L104-L106) - was inspired by Sidekiq's `sidekiq_options`. Recently, [a discussion in a pull request](https://github.com/pote/disc/pull/17#discussion_r36595021) made me think on wether we want this...
It'd be nice if `Disc` could have a configurable logger, not sure how that would look like exactly, but [the Sidekiq implementation](https://github.com/mperham/sidekiq/wiki/Logging) is probably a good reference to get the...
Instead of depending on Celluloid, which is complex and way too much for what we actually nead, this sets up a ConnectionPool that checks out nothing (i.e. the connections are...
It'd be good for Disc to have signal handling for graceful shutdowns, maybe something similar to [this](https://github.com/inkel/fallen/blob/master/lib/fallen.rb#L92-L98)