HackerTrans
TopNewTrendsCommentsPastAskShowJobs

reconditerose

no profile record

Submissions

Valkey 9.0 now supports 1B RPS, hash field expiration, and more

valkey.io
9 points·by reconditerose·9개월 전·4 comments

Valkey Turns One: How the Community Fork Left Redis in the Dust

gomomentodev.wpenginepowered.com
11 points·by reconditerose·작년·0 comments

Valkey (The Fork of Redis) built a modern hash table to save memory

valkey.io
5 points·by reconditerose·작년·0 comments

No longer just a Redis clone; Valkey 8.0 is GA

github.com
2 points·by reconditerose·2년 전·0 comments

Valkey achieved one million RPS 6 months after forking from Redis

valkey.io
113 points·by reconditerose·2년 전·37 comments

Valkey 8.0.0-Rc1 is out, focusing in performance and reliability

github.com
4 points·by reconditerose·2년 전·1 comments

comments

reconditerose
·9개월 전·discuss
LuaJIT is mostly compatible with 5.1, our goal is to make it pluggable so you can run with either 5.4 or 5.1.
reconditerose
·9개월 전·discuss
Seems similar in impact to https://nvd.nist.gov/vuln/detail/cve-2021-32626, I wonder why this has a CVE 10.

This code also looks generally fixed in Lua5.4, https://github.com/lua/lua/blame/9ea06e61f20ae34974226074fc6.... Valkey and Redis really need to move to Lua that isn't so old.
reconditerose
·작년·discuss
Google is well known for having banned AGPL (https://opensource.google/documentation/reference/thirdparty...).
reconditerose
·작년·discuss
The tl;dr is it's just a lockless hashmap attached to a TCP server with a log. Simple Get/Set operations are highly optimized, so with high batching they are able to efficiently fetch a lot of data efficiently. The architectures scales very well when you add threads and data access that is uniform.

It struggles a bit on certain types of workloads like hot keys, think heavy hitting a single sorted set. It's a cool architecture.
reconditerose
·작년·discuss
> So, you are practically saying you were using, at Amazon, all the BSD code we provided, provide an important part of the code to us? You see how broken such model was? At least stop defending it.

I'm not defending it, I'm trying to fix it. I want Amazon to contribute back. That's what I spend most of my time doing, but I can't just sit in a meeting and tell people we should give away code. It takes time to convince people that we should collaborate on the core and just compete on what we want to differentiate on. It takes time to convince people that building open-source in a vendor neutral space makes software that is better for everyone.

I hope that makes sense.
reconditerose
·작년·discuss
My guess is they are making it up. AWS has no public information, but there are some high profile customers that have migrated https://aws.amazon.com/elasticache/customers/.
reconditerose
·작년·discuss
Do you have data to back up your claims? I see a lot of customer claims for Valkey here, https://aws.amazon.com/elasticache/customers/. Neither of the AWS or GCP offerings are in preview.
reconditerose
·작년·discuss
The Valkey implementation of multi-threading is fundamentally different than what existed in Redis. The history dates back to work done in ElastiCache that was released as "Enhanced IO", https://aws.amazon.com/about-aws/whats-new/2019/03/amazon-el.... The version released in Redis could only do about 350k RPS because of poor memory locality of operations, the inability to do command processing while handling I/O, and the inability to offload much of the TCP read path. The new version in Valkey can achieve 1.2M RPS.

"They made certain improvements later", should be "we threw away the old implementation and built a better one."
reconditerose
·작년·discuss
It's not just a fork, there have been two releases on Valkey that improved performance and memory efficiency. There is a lie that Redis likes to spread that only their own employees were working on the core engine at the time of the fork, but most of the engineers on Valkey came directly from having worked on Redis OSS. A recent example is we modernized the hash table a bit: https://valkey.io/blog/new-hash-table/.
reconditerose
·작년·discuss
Yeah, there has been a lot of stuff like performance [1] and efficiency improvements [2]. A lot of the contributors, that didn't work for Redis labs but worked on Redis OSS before the fork, moved to Valkey and they continued to contribute.

[1] https://valkey.io/blog/unlock-one-million-rps-part2/ [2] https://valkey.io/blog/new-hash-table/
reconditerose
·2년 전·discuss
Everything we do is open-source, so you're free to take it and incorporate it back into Redis. (Although I'm more into rewriting the data structures to more efficient on modern CPU hardware). Keep some comments out in the open like your discussion about vector sets to keep the conversation going. For the record, I really don't like the vector set idea, but I'm not one to dish out hot takes on hacker news.
reconditerose
·2년 전·discuss
As one of those 12 other people, number of commits is not a good metric in this context. When you have a single maintainer, like antirez was for a long time, he could commit 10+ commits for a single small feature but I needed to get someone else to approve my commit before merging.
reconditerose
·2년 전·discuss
I know this doesn't mean much, but I spent a lot of time outside of work helping to maintain the Redis codebase. I attended our meetings and responded to issues on vacation because I cared about the community, it was more than just a paycheck for me. I don't regret doing any of that.
reconditerose
·2년 전·discuss
Valkey maintainer here. ¯\_(ツ)_/¯

I worked with antirez a bit before he left the project in 2020, and I still look fondly back on that time since he was a wonderful person and he helped me learn a lot. I wish he had considered coming to work with Valkey instead of Redis, but maybe we'll find some some way to work together that benefits both communities.
reconditerose
·2년 전·discuss
The only public record I've seen him talking about it was in https://github.com/valkey-io/valkey/issues/544, where he mentioned having sold the copyright.
reconditerose
·2년 전·discuss
There is a lot of adoption of Valkey. I know it's fun to hate on AWS, but there is a wider shift than just them.

https://cloud.google.com/blog/products/databases/announcing-... https://upcloud.com/blog/now-supporting-valkey https://aiven.io/blog/introducing-aiven-for-valkey https://www.instaclustr.com/blog/valkey-now-available/ https://elest.io/open-source/valkey
reconditerose
·2년 전·discuss
We're working on it, you can follow the progress here: https://github.com/valkey-io/valkey/issues/640.
reconditerose
·2년 전·discuss
It was always, and still is, a license issue. Redis stack had a proprietary license and now Redis has a proprietary license.
reconditerose
·2년 전·discuss
You might be able to get near 100% of Redis performance without a lot of tuning. Redis has a lot of overhead to make it a production ready system like performance counters, safety checking, and conditionals for features like replication/clustering/etc which slows it down.

Hell, you might even be able to use a concurrent hash map implementation and show multi-threaded performance much better than Redis :).
reconditerose
·2년 전·discuss
> Fair point. Was that foreseeable in 2009? A lot of the actions we take now are based on what's reasonably foreseeable in the future. I honestly don't recall.

The company now known as Redis didn't acquire the redis trademark until 2018, and didn't change their name to include redis until after that. That is probably the better timeframe to think about.