Jump to content

Data Storage Method: Redis


AlexWebsites

Recommended Posts

Posted

I noticed a setting I have not seen before for Data Storage Method and using Redis. Has anyone tried this? The note mentiones that the storage method is used by various systems to save arbitrary data. What data is that exactly and will it be served faster using Redis rather than MySQL...

image.thumb.png.35508f96f93fc6e45881f4100605b080.png

Posted

We store various bits of "cached" data in what we call our "data store". By default, this is the filesystem (and files are created under the /datastore folder), but MySQL has always been an option as well, which is useful in clustered environments. If you have caching enabled, then the data stored in the data store is copied to the cache engine and served from the cache engine when possible.

So, while it has been sort of possible to always use Redis (or another cache engine) for this purpose, we recently introduced the ability to directly store data store objects in Redis (i.e. instead of MySQL, and then being copied to Redis). If you have Redis enabled for caching already, I would probably go ahead and enable Redis for the data store method as well. It basically saves a small amount of overhead managing the data store objects in MySQL, but doesn't change much else. If you aren't already using Redis for caching, then using another data store method is fine.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...