-
Notifications
You must be signed in to change notification settings - Fork 124
Background Workers
Hyrax processes long-running or particularly slow work in background jobs to speed up the web request/response cycle. As of version 7, Hyrax no longer packages a default queuing back-end for background jobs. Hyrax builds its jobs using the Rails ActiveJob framework, so there is a wide variety of back-ends that you may use that will work with Hyrax including Sidekiq, Resque, and DelayedJob. Flexibility and choice come with a cost, though, and there's some work involved with integrating whichever queuing back-end you select.
If you'd like to use Sidekiq or Resque in your Hyrax app, we've written up a couple guides on using Sidekiq with Hyrax and using Resque with Hyrax to help you along.
We recommend using Sidekiq, which is better maintained and has fewer quirks.