Questions tagged [sidekiq]

Sidekiq is a background processing framework for Ruby.

Sidekiq is a multi-threaded background job and message processing gem written by Mike Perham and is available on GitHub.

2372 questions
0
votes
0 answers

Just want to verify about searchkick callback :async

I'm just curios what really happening when you choose callback :async? Is it really creating a job worker to execute on the background? Is this response really going to background jobs? Performed Searchkick::ReindexV2Job from Inline(searchkick) in…
0
votes
0 answers

Bulk Upload Account Performance

I am trying to refactor the bulk upload performance in Job, as now it is taking lot of account upload time which is affecting db load and performance. can some one please help me ConfirmPendingAccountsJob (at least 50,000 accounts) is able to…
Mag
  • 49
  • 2
0
votes
1 answer

How to call Sidekiq process on Rails application using kubernetes cluster?

I run my Rails Application production on kubernetes cluster. One node for Rails process, 1 node for Sidekiq for cronjob. I call delay jobs on Rails Application, it can not run because the sidekiq process does not appear on Rails Node. What should I…
sacachi
  • 1
  • 2
0
votes
2 answers

How to connect to IBM Cloud Redis from Ruby on Rails application

Migrating from one service to IBM Cloud for Redis. I cannot find the correct configuration to connect using TLS. Everything I find on this is related to Heroku. and it ignores verifying the TLS/SSL connection. I cannot find how to configure our…
Rockwell Rice
  • 3,376
  • 5
  • 33
  • 61
0
votes
0 answers

Cannot obtain an exclusive lease for ci/pipeline_processing/atomic_processing_service::pipeline_id:There must be another instance already in execution

I have set up an external sidekiq node using omnibus gitlab but I keep getting this error whenever I do merge requests, run pipelines etc. Currently, sidekiq is turned off in the main gitlab installation. Correct gitaly and Redis configurations have…
0
votes
1 answer

Heroku redis/sidekiq Connection timed out - user specified timeout error

This is an issue that happened after upgrading my Redis instance version on Heroku using heroku redis:upgrade The error happened when Sidekiq tried to connect to Redis: Connection timed out - user specified timeout After reading this…
Ben
  • 767
  • 8
  • 14
0
votes
0 answers

Sidekiq is not picking up jobs from the equeued set

I am running a local rails application on a VM with 64 cores and 192 GB RAM. We are running with 12 Sidekiq Processes with 10 Threads each and 40 Puma Processes. The App Memory and CPU allocation is taken care by the docker. The Problem we are…
0
votes
0 answers

Delete an email already queued through Action Mailer rails

Background: I have a job that runs every morning at 6am. This job itself either sends emails or queues emails. It depends on an appointment for a user. If an appointment is scheduled for that specific day, but there is no time associated with the…
kdweber89
  • 1,984
  • 2
  • 19
  • 29
0
votes
1 answer

Ruby: Dynamically set DB Pool size in Heroku Procfile

I'm on rails 6.1.5 And I'm trying to set my DB_POOL size in my Procfile so that I can have two db pool sizes. One for the web and another for my worker. As explained in this excellent video Thereby allowing more connections on my connection thirsty…
ToddT
  • 3,084
  • 4
  • 39
  • 83
0
votes
0 answers

ActiveModel::UnknownAttributeError because of schema cache in sidekiq server

I have two servers in my application; ・server for web request(server 1) ・server for sidekiq process(server 2) One day I added a new column to database by migration file and deployed it to two servers. my servers are on AWS ECS(Fargate), so task will…
0
votes
1 answer

Some workers are not loaded in sidekiq job, giving NameError:uninitialized constant

I am scheduling some background jobs using sidekiq-cron. I am using config/schedule.yml file: development: daily_summary: cron: "0 4 * * *" class: "DailySummaryWorker" weekly_summary: cron: "0 3 * * 1" class:…
0
votes
0 answers

Share single Sidekiq between multiple Ruby on Rails Applications (Micro Services)

Here I have multiple rails applications (microservices - 10), need to use one sidekiq and redis needs configure to handle across microservices.
Gagan Mesala
  • 87
  • 2
  • 11
0
votes
1 answer

How to delete a scheduled sidekiq job, running every minutes even if all code related to this job disappeared from the code base?

I guess everything is in the title. I scheduled a job on scheduler.rb weeks ago. It was suppose to run every minutes. We are not using it anymore. I'm trying to delete it for good but it's still running on sidekiq and appears as failed since there…
0
votes
2 answers

Progressive migration from delayed_job to Sidekiq wents messy by require Ruby file

I'm trying to migrate from Delayed_Job to Sidekiq. and by running Sidekiq in kubernetes an unrecognised error comes to surface: ================================================================== Please point Sidekiq to a Rails application or a…
Sebri Issam
  • 46
  • 1
  • 4
0
votes
1 answer

How can we pass any params[:file] to Sidekiq Worker through controller action in rails

Here's my Controller class CsvController < ApplicationController def read_csv CsvWorker.perform_async(params[:file]) end end Here's my Worker class CsvWorker include Sidekiq::Worker def perform(file) csv_file =…