Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Chris027 Posted September 15, 2020 Posted September 15, 2020 I just moved to 4.5.2 from 4.4.10, and I want to use redis because memcache is deprecated. I installed redis on my dedicated server and went to enable it but see that I know have to use it for both caching and storage. I was under the impression that i could still use mysql for storage and redis for caching. Question: If I enable redis for both storage and caching, does IPS no longer use mysql?
CoffeeCake Posted September 15, 2020 Posted September 15, 2020 This is super confusing as worded in the ACP. Storage here refers to temporary things. MySQL is used for all the things you think it would be. You can optionally set a setting that will put topic views and sessions on Redis too that reduces load on MySQL.
Chris027 Posted September 15, 2020 Author Posted September 15, 2020 21 minutes ago, Paul E. said: This is super confusing as worded in the ACP. Storage here refers to temporary things. MySQL is used for all the things you think it would be. You can optionally set a setting that will put topic views and sessions on Redis too that reduces load on MySQL. Wow. This is really strange. I assumed it meant not using mysql for anything, but your comment makes sense. Thanks so much!
bfarber Posted September 15, 2020 Posted September 15, 2020 We have a concept of a "datastore" which is like a basic cache, regardless of whether you have a caching engine enabled or not. Datastores are usually stored on disk, or in a MySQL database table. With Redis enabled, Redis is used for both "datastore" content, as well as true caching. sobrenome and Chris027 1 1
Recommended Posts