Redis and Memcache or just Redis?

后端 未结 6 1238
悲哀的现实
悲哀的现实 2020-12-12 11:01

I\'m using memcached for some caching in my Rails 3 app through the simple Rails.cache interface and now I\'d like to do some background job processing with red

6条回答
  •  猫巷女王i
    2020-12-12 11:14

    I don't know what you're using them for, but actually using both may give you a performance advantage: Memcached has far better performance running across multiple cores than Redis, so caching the most important data with Memcached and keeping the rest in Redis, taking advantage of its capabilities as database, could increase performance.

提交回复
热议问题