Quantcast
Channel: Active questions tagged redis+ruby-on-rails - Stack Overflow
Browsing all 873 articles
Browse latest View live
↧

Image may be NSFW.
Clik here to view.

Sidekiq Stuck in Idle Mode (Heroku)

I'm having a problem with my Rails server that's running in production on Heroku. Just recently, my Sidekiq jobs have stopped processing, and Sidekiq seems to be stuck in some sort of 'idle' state:I've...

View Article


Simple Rails App - Uncaught ReferenceError: $ is not defined

I'm learning how to build a simple rails app and I'm running into some problems getting JQuery to load in the app. I'm getting a console error of "Uncaught ReferenceError: $ is not defined" but I'm...

View Article


action cable subscribing locally, but not on heroku

I've been trying everything I can find online, and nothing is working. Hoping some fresh eyes will see the issue. This is my first time using ActionCable, and everything works great locally, but when...

View Article

Prioritize and monitor queues in Resque pool

My application has multiple queues and I'm trying to prioritize specific queues.resque-pool.ymldevelopment:"high_priority, med_priority, low_priority": 1According to the resque-pool documentation...

View Article

How to prioritize queues using Resque and Redis

My application has multiple queues and I'm trying to prioritize specific queues.resque-pool.ymldevelopment:"high_priority, med_priority, low_priority": 1According to the resque-pool documentation...

View Article


How to perform a two level caching mechanism in rails?

I need to perform a two level caching mechanism on a food menu refresh application. I have to use Memcache and Redis for caching.First need to check the menu is present in the memcache, if it is not or...

View Article

Image may be NSFW.
Clik here to view.

How to configure ActionCable to work with external frontend app

I have two applications (one rails app and one vue app) that need to communicate through ActionCable. This works very well on development, however, it does not in production. Both apps are deployed on...

View Article

Redis gem watch and unwatch confusion

According to the redis-rb ruby gem docs;redis.watch("key") do if redis.get("key") == "some value" redis.multi do |multi| multi.set("key", "other value") multi.incr("counter") end else redis.unwatch...

View Article


How to debug/fix random occurring Redis::TimeoutError?

I have a rails app running which is using redis quite a lot - however - I'm seeing quite a few Redis::TimeoutError occurring here and there, from time to time. There is no pattern in the circumstances....

View Article


Redis not connecting to channel.js

I haven't seen a solution for this anywhere online so here goes. I am setting up simple notifications using ActionCable. When I send a broadcast through either the console or through my app,...

View Article

Can you adjust the size of the Rails Geocoder Redis cache?

We have a Rails app deployed in Heroku using Rails Geocoding with a Redis cache. I assume entries are cached to fill some percent of the memory and I recall it running around 90%, but the Redis usage...

View Article

Keda not scaling more than 1 Pod

I recently deployed keda-2.0.0.yaml to scale my sidekiq workers based on its queue.Thay my setup:apiVersion: keda.sh/v1alpha1kind: TriggerAuthenticationmetadata: name: redis-auth namespace: xxxxspec:...

View Article

Cannot name a Redis client in Rails 6 app

I am currently trying to improve my Redis configuration by allowing a Redis client pool to my Rails 6 app as per this thread What is the best way to use Redis in a Multi-threaded Rails environment?...

View Article


Redis::CommandError: ERR Client sent AUTH, but no password is set

This has to be some wrong configI installed redis on localhost.When trying to connect to it through Rails consoleRedis.new(:host => 'localhost', :port => 6379)I can't send commands and I get...

View Article

ActionCable - Puma - Nginx - SSL

I'm totally new to ActionCable... Trying to set up Action cable on a Rails 6.0 application (Nginx + Puma). I also have to say my environment is on the cloud (DigitalOcean.com), and that is SSL.My...

View Article


Update redis cache setting on ruby on rails project

I am trying to locate to set the Redis cache setting on the Ruby on Rails project, but I am not able to find the path to set it up.As I was looking on /etc/redis/redis.conf but I don't see anything...

View Article

Rails Action Cable with Postgresql adapter on Heroku?

I'm making a new web app (Rails 6) that I would like to use websockets with. This is the first time I've attempted to use ActionCable with Rails. Ideally to start I would toss the app up on Heroku,...

View Article


Configuring document for Resque on separate server

Is there a proper document to set Resque on a separate server and connect to the Redis on a different server?I searched on the internet and couldn't find any straight forward installation of Resque.Can...

View Article

External Resque-web configuration on Rails/Redis

I've set up a standalone server for resque and I want to connect it to another server that has rails and redis configured.I am looking for the configuration path on rails/redis where I can define to...

View Article

Connection timeout error when running sidekiq in elastic beanstalk

I'm trying to set up sidekiq to connect to redis elasticache (in-transit encryption enabled) from my AWS elastic beanstalk (Amazon Linux 2) instance. I've followed links such as this, but am getting a...

View Article
Browsing all 873 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>