-
Notifications
You must be signed in to change notification settings - Fork 78
Background Workers
Sufia processes long-running or particularly slow work in background jobs to speed up the web request/response cycle. As of version 7, Sufia no longer packages a default queuing back-end for background jobs. Sufia 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 Sufia 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 Sufia app, we've written up a couple guides on using Sidekiq with Sufia and using Resque with Sufia to help you along.
We recommend using Sidekiq, which is better maintained and has fewer quirks.