class SuckerPunchAdapter
Ruby on Rails 4.2.9
Since v4.2.9 Last seen in v8.0.4Sucker Punch adapter for Active Job
Sucker Punch is a single-process Ruby asynchronous processing library. It’s girl_friday and DSL sugar on top of Celluloid. With Celluloid’s actor pattern, we can do asynchronous processing within a single process. This reduces costs 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 Rails/Sinatra 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
Inherits from
Methods (inherited)
From Object (23)
- # <
- # acts_like?
- # blank?
- # create_fixtures
- # deep_dup
- # destroy
- # duplicable?
- # html_safe?
- # in?
- # instance_values
- # instance_variable_names
- # itself
- # perform
- # presence
- # presence_in
- # present?
- # to_param
- # to_query
- # try
- # try!
- # unescape
- # with_options
- self. table_name_prefix