You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If feels kind of verbose to create a Dalli::ElastiCache instance, get a list of servers, then use a :dalli_store for the actual application store in production.rb.
I don't know how tricky wrapping ActiveSupport::Cache::DalliStore is, but my ideal configuration would look something more like this:
# in config/environments/production.rbconfig.cache_store=:dalli_elasticache_store,"my-cluster.cfg.use1.cache.amazonaws.com:11211",{:expires_in=>1.day}
Other thoughts: Should the store default to reading the endpoint configuration from a config/dalli-elasticache.yml file or be configured in an initializer?
The text was updated successfully, but these errors were encountered:
If feels kind of verbose to create a
Dalli::ElastiCache
instance, get a list of servers, then use a:dalli_store
for the actual application store inproduction.rb
.I don't know how tricky wrapping
ActiveSupport::Cache::DalliStore
is, but my ideal configuration would look something more like this:Other thoughts: Should the store default to reading the endpoint configuration from a
config/dalli-elasticache.yml
file or be configured in an initializer?The text was updated successfully, but these errors were encountered: