Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
AlexWebsites Posted October 13, 2018 Posted October 13, 2018 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...
bfarber Posted October 15, 2018 Posted October 15, 2018 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.
AlexWebsites Posted October 15, 2018 Author Posted October 15, 2018 I appreciate the explanation and will turn redis on since I’m using it!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.