'Is Redis ReJSON module compatible with Google Memorystore?

Is Redis ReJSON module compatible with Google Memorystore? I want to store JSON in memorystore, can I use ReJSON module?



Solution 1:[1]

No you cannot use the ReJSON module because it's currently not supported to use any modules in Google Cloud Memorystore as it is running v3.2.11 and the user modules system was introduced in Redis v4.0. Also in the ReJSON module requirements it stated that it requires Redis v4.0 or above.

Related to this, there is already a public feature request for Google Cloud Memorystore to release v4.0 in which it is stated that:

We are working on releasing 4.0 in Q1 (2019). We will follow up with 5.0 shortly after that.

I cannot confirm it but it can be that after the v4.0 is introduced, you are able to use the ReJSON module.

Solution 2:[2]

As of July 13 2020, Memorystore does not support Redis modules, even with the latest Redis version 5.0

Solution 3:[3]

Memorystore now supports Redis 4 with a beta tag but they do not support modules: https://cloud.google.com/memorystore/docs/redis/supported-versions#redis_version_40_beta

Solution 4:[4]

v6 is compatible. All versions below this are not. Hope this helps.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 TasosZG
Solution 2 Carlos
Solution 3 sepbot
Solution 4