Quantcast
Channel: Active questions tagged redis+ruby-on-rails - Stack Overflow
Viewing all articles
Browse latest Browse all 873

Does ActiveSupport::Cache redis_cache_store have support for readonly endpoints?

$
0
0

I have an AWS Elasticache (cluster mode disabled) replication group with a write primary endpoint, and a readonly endpoint. In my scenario I am configuring Rails' cache store:

  config.cache_store = :redis_cache_store, {    url: [      ENV['REDIS_WRITE_HOST'],      ENV['REDIS_READ_HOST'],    ],    ...

As it stands, I think I might run into problems with write operations being made on the readonly endpoint. I have scoured docs and github issues but can't seem to find anything on whether ActiveSupport::Cache actually allows you to use readonly endpoints. Is this at all possible?


Viewing all articles
Browse latest Browse all 873

Trending Articles



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