reflex icon indicating copy to clipboard operation
reflex copied to clipboard

Replace Redis with an open-source alternative due to licensing changes

Open jq6l43d1 opened this issue 1 year ago β€’ 4 comments

Describe the bug Redis, the popular in-memory data structure store, has recently changed its licensing model from open-source to a proprietary license. I believe this change conflicts with this project's principles. Additionally, it may also conflict with our individual principles and values, as many of us strongly believe in the importance of free and open-source software.

To address this issue, we should replace Redis with an open-source alternative.

I propose that we replace Redis with KeyDB. Which is a fork of Redis that is faster and free as in freedom. However, there are other open-source alternatives available as well

jq6l43d1 avatar Mar 22 '24 14:03 jq6l43d1

Thanks for raising this issue. I agree that the licensing changes in redis are not ideal.

masenf avatar Mar 22 '24 20:03 masenf

The Linux foundation has launched an open-source fork of Redis called Valkey. https://github.com/valkey-io/valkey

jq6l43d1 avatar Mar 29 '24 03:03 jq6l43d1

Currently Reflex isn't using the latest version of Redis anyway. As of today, it uses version 5.0.4 (">=4.3.5,<6.0"). The license change was made in Redis 7.2.4. Valkey is at 7.2.5. So maybe there are some compatibility issues using Redis 6+

ericwb avatar May 14 '24 18:05 ericwb

For cases like this, I would recommend setting up dependency-review-action to avoid accidentally including a lessor-permissive licensed dependency.

ericwb avatar May 14 '24 18:05 ericwb