Jump to content

Data Storage Method: Redis


AlexWebsites

Recommended Posts

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.

Link to comment
Share on other sites

Archived

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

  • Recently Browsing   0 members

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