Ruby on Rails Redis connection_pool wrong number of arguments (given 1,...
I recently encountered an issue deploying a Ruby on Rails app to production (on Render) whereby the app would not build and rake tasks would not run. The application would build and launch fine in...
View ArticleForeman terminates immediately
I recently installed OSX and Ubuntu on different computers. I then attempted to install redis and foreman for both OS's. Both errors threw no flags, and seemed to execute successfully. However,...
View ArticleCan possible SIDEKIQ with multiple instances process and different queue...
I need to provide the priority job queues based on processes.. divide queues based on process like this wayProcess 1 is occupied only for "update_data" queuesProcess 2 is occupied only for "import_data...
View ArticleForeman terminates immediately
I recently installed OSX and Ubuntu on different computers. I then attempted to install redis and foreman for both OS's. Both errors threw no flags, and seemed to execute successfully. However,...
View ArticleMultiple strings matching performance
I have an artists table with over 100,000 records that I use to match against an array (between 1 and several thousands) of artists submitted by the user. My current query looks like this:SELECT id...
View ArticleRedis and Memcached or just Redis? [closed]
I'm using memcached for some caching in my Rails 3 app through the simple Rails.cache interface and now I'd like to do some background job processing with redis and resque.I think they're different...
View Article"Your Redis network connection is performing extremely poorly" warning on...
When runnning sidekiq locally (with or without cron jobs) I get this warning:WARN: Your Redis network connection is performing extremely poorly.Last RTT readings were [206649, 404660, 207362, 508564,...
View ArticleHow to manager Multiple sidekiq process with different queues not for same...
I need to provide the priority job queues based on processes.. divide queues based on process like this wayProcess 1 is occupied only for "update_data" queuesProcess 2 is occupied only for "import_data...
View ArticleWhy is Sidekiq web UI is showing blank stats in produiction?
I'm running a Rails 8 app. I've just set up Sidekiq and changed the Redis db to 3 (in both prod and dev).I've got jobs running on both dev and prod. Strangely, in prod the stats always show 0. I can...
View Articlerails + docker + sidekiq + Error connecting to Redis on 127.0.0.1:6379...
I am getting this error while running my rails app with docker and docker-composeError connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED)Please find my Docker file# Copy the Gemfile as well as...
View ArticleCan possible Sidekiq with multiple instances process and different queue...
I need to provide the priority job queues based on processes.. divide queues based on process like this wayProcess 1 is occupied only for "update_data" queuesProcess 2 is occupied only for "import_data...
View ArticleHow can i generate consecutive codes with redis?
i would like to generate a consecutive codes, like PR00001, EC00002, TG00003 and so on, the first two letters have to be from the name and the last name.my pseudocode isrecovery the number from...
View ArticleRuby on Rails 7.1, redis and AWS Serverless Valkey
I'm trying to switch from DelayedJob to Sidekiq using an AWS serverless Valkey.However, when it connects the redis client sends a 'HELLO' which the server rejects as isn't needed.I've configured the...
View ArticleDoes Action Cable 5 require Redis?
I use:rails (5.0.2)actioncable (5.0.2)puma (3.8.2)I have a Rails 5 Action Cable demo chat and a year ago it didn't work without Redis - and now it does! (after bundle update).In other words, I...
View ArticleROR + ENV Variables vs RedisDB Value
In my current ROR application, I'm using both ENV variables and RedisDB variables as well.For a single change in ENV variables, I have to restart all servers; by this, lots of jobs fail (dirty...
View ArticleUnable to connect with redis server installed on remote ubuntu machine with...
Unable to connect with redis server installed on remote ubuntu machine.I am trying:-redis = Redis.new(url: "redis://<remote ubuntu server name>:<remote ubuntu server password>@<IP...
View ArticleUsing a Controller Method with Resque Background Job
I am on Rails 4 using Resque with Redis.How can I use a controller method, which is currently defined in my application_controller, inside of my background job?Here is the current method I have...
View ArticleRuby's redis gem seemingly returns integers in error message?
I've implemented a library wrapper around Ruby's Redis gem.There are times when I call CacheManager.get("key") and it somehow triggers an error that gets caught in the rescue. The error looks like...
View ArticleFinding Scheduled Delayed job in resque via rails console
In Rails we can get the workers infor easily. I used resque-schedule for delayed Job purpose and now I want to fetch all delayed job list via rails console.
View ArticleRails error: can't activate redis (>= 3, < 5), already activated redis-5.0.4
I tried to deploy my Rails app, and got the errorcan't activate redis (>= 3, < 5), already activated redis-5.0.4. Make sure all dependencies are added to Gemfile. (Gem::LoadError)I've tried...
View Article