# Dovrebbe Redis essere configurato come server cache o no?

**URL:** <https://meta.discourse.org/t/should-redis-be-configed-as-a-cache-server-or-not/42315>\
**Category:** Self-hosting\
**Created:** [10 Aprile 2016, 3:14am UTC](https://meta.discourse.org/t/should-redis-be-configed-as-a-cache-server-or-not/42315 "2016-04-10T03:14:00Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![louirobert](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/louirobert/32/62262_2.png) [@louirobert](https://meta.discourse.org/u/louirobert)\
**Post date:** [10 Aprile 2016, 3:14am UTC](https://meta.discourse.org/t/should-redis-be-configed-as-a-cache-server-or-not/42315/1 "2016-04-10T03:14:00Z")

</div>

The official GitHub page for Discourse says

> “[We use Redis as a cache and for transient data.](https://github.com/discourse/discourse)”.

But Sidekiq, which is a part of Discourse, says

> “[Many people use Redis as a cache but it’s important that Sidekiq be run against a Redis instance that is not configured as a cache but as a persistent store.](https://github.com/mperham/sidekiq/wiki/Using-Redis)”

and it also suggests

> “using two separate Redis instances, each configured appropriately, if you wish to use Redis for caching and Sidekiq”

So what should I do? I currently have only one Redis configed as a LRU cache. Should I make another one for Sidekiq, and how? Or I can safely ignore Sidekiq’s suggestion?

Thanks.

---

_[View the full topic](https://meta.discourse.org/t/should-redis-be-configed-as-a-cache-server-or-not/42315)._
