ActiveJob::QueueAdapters::SuckerPunchAdapter

class ActiveJob::QueueAdapters::SuckerPunchAdapter

Parent:
Object

Sucker Punch adapter for Active Job

Sucker Punch is a single-process Ruby asynchronous processing library. This reduces the cost of hosting on a service like Heroku along with the memory footprint of having to maintain additional jobs if hosting on a dedicated server. All queues can run within a single application (eg. Rails, Sinatra, etc.) process.

Read more about Sucker Punch here.

To use Sucker Punch set the queue_adapter config to :sucker_punch.

Rails.application.config.active_job.queue_adapter = :sucker_punch

© 2004–2017 David Heinemeier Hansson
Licensed under the MIT License.

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部