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

Using Redis as the cache store in AWS ElastiCache with a Rails 5.2 app

$
0
0

Im using Redis in AWS ElastiCache as the cache store for our Rails 5.2 app. I have the following two questions:

  1. We are using SSL in AWS ElastiCache and the redis-rb gem (https://github.com/redis/redis-rb) in the Rails app. The hiredis driver for Redis in redis-rb currently does not support SSL because of which we have to use the default ruby driver. I know that hiredis is overall faster than the default ruby driver, but will using the default ruby driver cause any significant performance issues given that our app receives a large volume of traffic ?

  2. Is Rails.cache thread safe if i decide to use the connection_pool gem (https://github.com/mperham/connection_pool.git) for using connection pooling with Redis ?


Viewing all articles
Browse latest Browse all 873

Trending Articles



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