Skip to content

Drupal Compatibility with Latest Redis OSS Cache Versions

0

Hello,

I am currently supporting a website that uses ECS (Fargate) and Redis OSS cache version 4.0.10.

We are using this version because the site relies on Drupal 10.3.10, which was not compatible with later versions of Redis—at least, that was the case when we implemented it about two years ago.

We are currently experiencing performance issues on the site, and the client is pointing to the performance of the ElastiCache cluster, even though my metrics do not show anything unusual.

I was wondering if any of you have successfully run a version of Drupal with the latest versions of Redis OSS cache.

Thank you in advance for any insights you can share on this topic.

Best regards, Franck

asked 10 months ago210 views
1 Answer
0
Accepted Answer

Thank you for your question about Drupal compatibility with the latest Redis OSS cache versions. I can provide some insights based on the current information available for Amazon ElastiCache for Redis.

First, it's important to note that ElastiCache currently supports Redis OSS versions up to 7.1, which is a significant upgrade from the version 4.0.10 you're currently using. While I don't have specific information about Drupal 10.3.10's compatibility with newer Redis versions, it's generally recommended to use the latest supported versions for improved performance and security.

Regarding your performance issues, it's worth considering an upgrade to a more recent version of Redis OSS. The newer versions often come with performance improvements and optimizations that could potentially address the issues you're experiencing, even if your current metrics don't show anything unusual.

ElastiCache version 7.1 for Redis OSS includes several enhancements, such as extended I/O threads handling presentation layer logic and improved Redis OSS memory access patterns. These improvements could potentially benefit your Drupal application's performance.

If you're open to exploring alternatives, Amazon has recently introduced ElastiCache Serverless, which supports Redis version 7.1. This offering provides automatic scaling, simplified management, and could potentially alleviate some of your performance concerns without requiring extensive configuration changes.

Before upgrading, I would recommend thoroughly testing your Drupal application with newer Redis versions in a non-production environment. This will allow you to verify compatibility and potentially identify any necessary adjustments to your application.

If you decide to upgrade, you should also consider the following:

  1. Review the Redis OSS release notes for versions between 4.0.10 and 7.1 to understand any breaking changes or new features that might affect your application.

  2. Ensure that your Drupal Redis module is compatible with the newer Redis versions.

  3. Plan for potential downtime during the upgrade process.

  4. After upgrading, monitor your application and ElastiCache performance closely to ensure the upgrade has addressed your performance issues.

If you encounter any compatibility issues with newer Redis versions, you might need to work with the Drupal community or consider custom solutions to adapt your application to work with the latest Redis OSS versions.

Remember, staying on the latest supported versions is generally recommended for improved performance, security, and access to new features that could benefit your application.
Sources
Versions of Redis OSS compatible with AWS Elasticache for Redis | AWS re:Post
Major engine version behavior and compatibility differences with Redis OSS - Amazon ElastiCache
Supported engines and versions - Amazon ElastiCache
Amazon ElastiCache and Self-Managed Redis - Database Caching Strategies Using Redis

answered 10 months ago
AWS
EXPERT
reviewed 8 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.