Author Topic: Redis server upgrade  (Read 1374 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Redis server upgrade
« on: August 20, 2025, 05:11:06 AM »
Hello there

(feel free to move this topic to another section if it is incorrectly placed)

I'm currently using

Code: [Select]
redis-server --version
Redis server v=5.0.3 sha=00000000:0 malloc=jemalloc-5.1.0 bits=64 build=14b81d825631ff0c

I've configured the custom repository following Redis documentation, I've cleared DNF cache, and tried everything.

However, DNF will not show me any available update even though Redis current self-hosted version is at 8.X.X

How can I upgrade the Redis server to a newer version?

I'm on AlmaLinux 8.

Is there any guide?

After trying every possible method, Gemini AI suggests that I would need to manually download the files and compile the new version locally, delete the old version and apply the new version - with all the risks of incompatibility that entails.

Thank you very much.
A global boutique AI consulting, marketing & advertising agency, helping businesses worldwide achieve success - headquartered in Singapore, Southeast Asia.

Offline
*****
Re: Redis server upgrade
« Reply #1 on: August 20, 2025, 10:50:28 AM »
Which version of PHP? This guide is older, but still works under AlmaLinux 8:
https://blog.alphagnu.com/speedup-wordpress-decrease-server-load-redis-cache-cwp-centos-webpanel/

Offline
*****
Re: Redis server upgrade
« Reply #2 on: August 20, 2025, 11:11:10 AM »
Best best is using Cloudflare's CDN and Cache.

Even the highest ranking WP Cache uses and integrates with it.

Offline
*
Re: Redis server upgrade
« Reply #3 on: August 21, 2025, 05:14:51 AM »
Which version of PHP? This guide is older, but still works under AlmaLinux 8

Thank you Overseer

NGINX > Apache > PHP-FPM (forced) 8.3.12

I already have Redis Server installed, it is just the default version IMH tends to install.

I'm already using the WP-SALT Keys, custom wp-config.php directives and Redis Cache plugin, etc on all of our WordPress websites.

I've also customized the Redis .conf file for performance reasons.

What I'm looking into is how to upgrade Redis server from its current (2018, I think) version to a newer one closer to Redis 8.X.X

I followed this guide here:
https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/rpm/

But the repo won't show any update at all.

That's why GEMINI AI suggests to me to completely remove Redis and do a clean-install.

However I'm concerned about incompatibility issues on a production server.

Did anyone tried that before?
A global boutique AI consulting, marketing & advertising agency, helping businesses worldwide achieve success - headquartered in Singapore, Southeast Asia.

Offline
*
Re: Redis server upgrade
« Reply #4 on: August 21, 2025, 05:16:53 AM »
Best best is using Cloudflare's CDN and Cache.

Even the highest ranking WP Cache uses and integrates with it.

Thank you StarBurst

Already using CloudFlare Free/PRO on all of our hosted websites + the official CloudFlare WP Plugin + Nginx Helper + Redis Cache + WP-Rocket for some of our websites.

It's a crazy performance based stack  ;) ;) ;)
A global boutique AI consulting, marketing & advertising agency, helping businesses worldwide achieve success - headquartered in Singapore, Southeast Asia.

Offline
*
Re: Redis server upgrade
« Reply #5 on: August 25, 2025, 04:00:07 AM »
If you're using wp, there's plugin called to wp supper page cache that integrating cloudflare page everything cache. It's super fast as it'll convert Your wp to the static html page.

Offline
*
Re: Redis server upgrade
« Reply #6 on: August 25, 2025, 02:37:48 PM »
If you're using wp, there's plugin called to wp super page cache that integrating cloudflare page everything cache. It's super fast as it'll convert Your wp to the static html page.

Very interesting indeed. I didn't know about this.

Thank you very much
A global boutique AI consulting, marketing & advertising agency, helping businesses worldwide achieve success - headquartered in Singapore, Southeast Asia.

Offline
*
Re: Redis server upgrade
« Reply #7 on: September 03, 2025, 07:32:54 AM »
For anyone interested, I'm going to attempt to remove the current Redis Server from my CWP Server and do a clean install of the latest one Redis Server 8.0.X

According to Gemini AI and various online reviews, it will offer a dramatic improvement on performance.
A global boutique AI consulting, marketing & advertising agency, helping businesses worldwide achieve success - headquartered in Singapore, Southeast Asia.

Offline
*****
Re: Redis server upgrade
« Reply #8 on: September 03, 2025, 11:51:04 AM »
Sure, keep us posted! I'm always in the WordPress optimization battle with some crufty legacy sites that could use a performance boost.

Offline
*****
Re: Redis server upgrade
« Reply #9 on: September 03, 2025, 12:46:43 PM »
Make a complete backup so you can do a restore.

These AI's search bots just post when you find in online guides, and don't take different factors into count.

I've seen more servers corrupted and have to be wiped due to people using these AI's bots...
But hey more money for real SysAdmins, a typical onsite service call is over $300 just to start, and $150/hour after.

Like how something is integrated from source in the background, and can corrupt a whole installation.

It's always best to try anything on a test setup, and then if it works, you will know how to do it on production servers.
But then you still want snapshots/backups.