Background jobs with ActiveJob
By default, ActiveJob queues are used, but you can define your own queueing mechanism:Ruby
ActiveRecord#find
fails with a RecordNotFound
error.
To prevent this, you can bypass loading the record from the ActiveRecord and directly communicate with the index:
Ruby
Background jobs with Sidekiq
You can process jobs in the background with Sidekiq:Ruby
Background jobs with delayed_job
You can process jobs in the background with delayed_job:Ruby