Honest question about Redis - needed, or no?
-
So, I've read a bit about redis helping to make interaction with a DB quicker, particular with many users, or with an app which makes lots of db queries.
I'm the only one using my one Cloudron. I use a number of high ram apps, too, like Mastodon.
Do I really need redis on my own personal one-user apps like wordpress, ghost, matrix+element, Mastodon (well, maybe this one), bitwarden, vikunja, etc.?
If not, can I not just disable them?
I JUST noticed that there is no option to disable them in the Services pane. More interestingly, many of my redises are showing 150MiB max, and when I clicked "Reset to default" (thinking it would go to 0), the alloted memory actually went up to 512MiB. I could only then drop to just 256MiB, but not 150. Fortunately I hadn't clicked Save yet, so I preserved my 150MiB. Why is this? It seems that, at the current state, my redis' memory usage is as good as it can be.
So, is there a way to remove a redis service from an app, and delete it, to free up system resources like RAM?
-
@scooke said in Honest question about Redis - needed, or no?:
More interestingly, many of my redises are showing 150MiB max, and when I clicked "Reset to default" (thinking it would go to 0), the alloted memory actually went up to 512MiB. I could only then drop to just 256MiB, but not 150.
About Redis Memory Limit, just few days ago, I suggested to improve selector.
-
@scooke said in Honest question about Redis - needed, or no?:
I JUST noticed that there is no option to disable them in the Services pane.
redis is optional in some apps and for some apps it is mandatory. So, optional redis is implemented on a case by case basis.
More interestingly, many of my redises are showing 150MiB max, and when I clicked "Reset to default" (thinking it would go to 0), the alloted memory actually went up to 512MiB.
That seems like a bug. Will investigate. Edit: I can reproduce this, will fix.
-
I also noticed last night that the option to disable redis only appeared in certain wordpress apps after undating to the absolute newest version. But I also noticed some other unexpected details (note: I am not asking for help to figure this out, I'm just sharing the info) - I'm certain that all my WP apps are installed as Managed, or Developer. But, the name varied. Some of them had this app name - org.wordpress.cloudronapp@3.3.1 (no redis disable option visible until 3.3.2), while others had this -org.wordpress.unmanaged.cloudronapp@3.2.1 (no redis disable option visible until 3.2.2), and yet a third oddity was some had org.wordpress.cloudronapp@3.3.2 but even though a few which had been unpdated to this version showed the disable redis option at this version, others did not until I went up one more version. Interesting.
FWIW, I also had, for only the second time, a strange incident where the green update arrow actually was a downgrade, and a red pop-up box would appear saying downgrades are not possible for that app (I'm sorry, I forget which one already).
All this to say, I've disabled redis for my WP installs that don't need it. Thanks!