

Arch Linux Is the Latest Distro Replacing Redis with Valkey (phoronix.com) 34
In NoSQL database news, Arch Linux "is the latest Linux distribution replacing its Redis packages with the Valkey fork," reports Phoronix.
Valkey is backed by the Linux Foundation, Google, Amazon Web Services, and Oracle, which the article points out is due to Redis's decision last year to shift the upstream Redis license from a BSD 3-clause to RSALv2 and SSPLv1. Valkey is replacing Redis in the Arch Linux extra repository and after a two week period the Redis package will be moved out to AUR and receive no further updates. Users are encouraged to migrate to Valkey as soon as possible.
Valkey is backed by the Linux Foundation, Google, Amazon Web Services, and Oracle, which the article points out is due to Redis's decision last year to shift the upstream Redis license from a BSD 3-clause to RSALv2 and SSPLv1. Valkey is replacing Redis in the Arch Linux extra repository and after a two week period the Redis package will be moved out to AUR and receive no further updates. Users are encouraged to migrate to Valkey as soon as possible.
Re: What's a Redis and why should I care? (Score:1)
Yeah, the website for the program is not much more illuminating. Evidently it's a sort of database cache which resides in RAM?
Re: What's a Redis and why should I care? (Score:2)
According to Wikipedia: "Redis is the most popular NoSQL database".
Re: (Score:1)
What's a good use-case for it that say MariaDB or SQLite can't do well? NoSql was over-hyped. It has valid niches, but they are niches.
Re: (Score:2)
Re: (Score:3)
Re: (Score:2)
Redis is a store for key-value pairs. So not only you can, but perhaps you should.
Re: (Score:2)
So if this is "no relations," can I just do a Perl "slurp" into memory, and then a pattern match on that? Or, just a grep on a file?
Yes you can, but the first may consume excessive amounts of memory if you try to do it from every of many parallel running processes that cannot make proper use of shared memory (like many of the popular script languages do, which the cheapest of "web developers" like to use). And a "grep" on a file has a time complexity of O(n), so it will be inefficient for large amounts of keys, where the O(1) hash-table look ups that Redis does perform fine.
Re: (Score:1)
> and do not know in advance what kind of request you might require much later.
For business and admin apps, this is quite common.
Re:first four words of the summary (Score:5, Informative)
Programmers have other uses for it, but they often fail to prepare for failure or timeouts, which do happen. Then mysterious bugs show up, and I end up having to fix the problem. You need to think of those things when you're programming.
Re: (Score:2)
I have a slightly different view of this history. Instead of: "The history here is that this project was very popular on cloud providers (e.g. AWS calls their offering "Elasticache") and the original authors got pissy that they were being cut out of whatever money was being paid for using their free software. So they changed the license and here we are.", I would say: "... and the original investors got pissy that they were being cut out of whatever money was being paid for using the free software in which
Re: (Score:2)
The term of art is "inside baseball."
Re: What's a Redis and why should I care? (Score:5, Informative)
Re: (Score:2)
See also memcached which I believe uses its own internal format.
https://memcached.org/ [memcached.org]
Re: (Score:2)
Made me laugh.
Re: What's a Redis and why should I care? (Score:5, Informative)
Let's put it this way. If you're on /. and either don't know what Redis is or can't figure out how to look it up. You probably don't know what Arch Linux is let alone even use Linux and your knowledge of anything technology relate should be called into question.
Re: (Score:1)
At least we know who runs Arch Linux.
Re: What's a Redis and why should I care? (Score:5, Funny)
The systemd guy, right?
Re: (Score:2)
One database replaced with another database that no one besides the distro maintainers would even notice.
Re:What's a Redis and why should I care? (Score:4)
It's less about the software and more about the licensing. Going from bsd 3-clause to a custom license package is quite a change.
Meanwhile, (Score:3)
Debian has both Valley and Redis.
Re: Meanwhile, (Score:3)
It's Valkey, fucking phone spellchecker.
Re: (Score:2)
Oh, I thought you had been thinking Valley Girls:
https://www.youtube.com/watch?... [youtube.com]
Re: (Score:2)
The version in Debian stable is the older 7.0 version. Redis changed the license in version 7.4. Genuinely asking and not trying to be snarky, what's your point?
QUICK TLDR SUMMARY (Score:4, Informative)
This is all TL;DR so if I'm short and you miss something feel free to blame me.
There are different types of databases. Popular in 2024 was Maria (SQL, FOSS fork of MySQL, competitor to Postgres aka PGsql, etc.).
Another type is key/value databases. SALARY=40000 RENT=15000 etc. Redis was FOSS but they* changed it. Valkey forked off Redis and they** are FOSS.
E
* The people who controled Redis started with an FOSS license,but changed it. I'm not a lawyer, so let's just go with that.
The FOSS community forked Redis to create Valkey, and its license is 100% FOSS, its govening body defined, and while donations are welcomed, it has at least a 12-year funding shelflife.
If I got anything wrong, it's on me. FOSS ALL THE WAY EVERYDAY DRILL DRILL DRILL INTO A WORM-BRAIN-HEAD BABY!
So many useless comments (Score:1)
Re: So many useless comments (Score:2)
What made you flee to Postgres? The emergence of MariaDB or that MySQL was purchased and thrown around like a bitch?
Re: (Score:2)
I migrated from Redis to Valkey (on FreeBSD) about 6 months ago. /usr/local/etc/redis.conf to /usr/local/etc/valkey.conf /etc/rc.conf to start the valkey service instead of the redis service
As migrations go, it was extremely painless:
Install Valkey
Copy the contents of
Edit
Shut down the redis service and start the valkey service (maybe about a minute of downtime here)
Uninstall redis
This is why I consider non-FOSS ... (Score:2)
... flat-out amateur and unprofessional. This is a perfect example of why, unlike other software, FOSS isn't a serious operational risk and potential epic waste of time, energy and resources.
Some storage provider builds a wicked fast and performant DB thing. It's FOSS and quickly becomes an industry standard. 10+ years in they start dicking around with the license and making people fidgety. A handful of people get fed up, fork the FOSS and everyone migrates. Not a single soul has to fear that their operatio