reflex-dev / reflex

🕸️ Web apps in pure Python 🐍
https://reflex.dev
Apache License 2.0
17.98k stars 997 forks source link

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

Open jq6l43d1 opened 3 months ago

jq6l43d1 commented 3 months ago

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

masenf commented 3 months ago

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

jq6l43d1 commented 3 months ago

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

ericwb commented 1 month ago

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 commented 1 month ago

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