Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted September 15, 20204 yr 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?
September 15, 20204 yr 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.
September 15, 20204 yr Author 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!
September 15, 20204 yr 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.