【发布时间】:2016-02-01 03:56:49
【问题描述】:
我正在使用 Rails 4.1 并设置共享 Redis ElasticCache 节点进行缓存。我试过https://github.com/redis-store/redis-store 和https://github.com/sorentwo/readthis,它们看起来很棒。
但是如果 Redis 宕机了怎么办? readthis 和 redis-store 都完全失败。我宁愿让网站在没有缓存的情况下变慢而不是死掉。
有人有想法吗?我提前谢谢你。
【问题讨论】:
-
欢迎来到 StackOverflow。当人们回答您的问题并解决您的问题时,您可以接受您最喜欢的答案。要了解有关接受答案如何工作的更多信息,请参阅此帖子:meta.stackexchange.com/questions/5234/…
标签: ruby-on-rails caching redis