I'm curious about the name. Putting "DB" in the name sort of suggests it might support persistence, more data than fits in memory, write-through, etc. Is that the case? Or is the "DB" some nod that clustering means that "in-memory" doesn't have to be ephemeral? Or in short, where is KeyDB headed, longer term?
I don't think more data than fits in memory is a requirement. An important innovation in databases has been the realization that there are important performance benefits from assuming all data can fit in memory even if you still provide persistence. Even persistence isn't really required. A pure analytics view of another database is still a database by itself, but it doesn't need to actually persist anything. It seem…
KeyDB CEO Interview: Getting into YC with a Fork of Redis
31–40 of 77 posts
Re: KeyDB CEO Interview: Getting into YC with a Fork of Redis
#32This is totally going to be a Hacker News Bingo type of question. But has anyone tried to do a clean room implementation of Redis using Rust, but speaks the same wire protocol? You would get the zero-cost multi-threading, memory safety, etc, and it would be a drop in replacement.
It's been a long time since I've looked at KeyDB, but IIRC KeyDB is just Redis plus a spinlock. It's actually still very performant. There are other "toy" reimplementations of Redis in Rust that take the same approach and aren't even as performant as single threaded Redis. The next approach you could take is using something like Glommio and take a thread-per-core design to Redis. I think that approach has a lot of po…
Re: KeyDB CEO Interview: Getting into YC with a Fork of Redis
#33Re: KeyDB CEO Interview: Getting into YC with a Fork of Redis
#34Earlier quoted context omitted.
I don't read that as antagonistic. I think you're just being too sensitive, or reading a tone into the test that isn't actually there.
It just doesn't sound very friendly to the open source community. "If they won’t then we will." sounds harsh imho.
It's fundamental to the health and growth of the open source community.
Re: KeyDB CEO Interview: Getting into YC with a Fork of Redis
#35It's multithreaded but what about Redis running on a single core in a cluster? Like running 8 Redis on a single 8 cores CPU. I don't really understand the reason to run Redis on multiple core since you can run multiple Redis on a single CPU with clustering which will have better perforamce than running KeYDB with the same number of cores.
Even better you might be able to avoid having a cluster at all. For many that’s the biggest win with KeyDB.
Re: KeyDB CEO Interview: Getting into YC with a Fork of Redis
#36Earlier quoted context omitted.
It just doesn't sound very friendly to the open source community. "If they won’t then we will." sounds harsh imho.
You should read about the concept of "forking": https://en.wikipedia.org/wiki/Fork_(software_development)#Fo... It's fundamental to the health and growth of the open source community.
Re: KeyDB CEO Interview: Getting into YC with a Fork of Redis
#37Are you concerned about AWS starting a competitor to keydb cloud/have you considered modifying your license to prevent that from happening? I'd imagine that'd be important in ensuring the long term sustainability of keydb development
They have Elasticache which is always a concern. In terms of open source projects my read is they really don’t want to run their own and are much more comfortable operating open source as a service. They “forked” Elastic Search 2 years ago and basically did nothing with it until it was re-licensed a few months ago. Now that they are investing more into it I’m interested to see how they handle it long term.
Re: KeyDB CEO Interview: Getting into YC with a Fork of Redis
#38Re: KeyDB CEO Interview: Getting into YC with a Fork of Redis
#39Earlier quoted context omitted.
You should read about the concept of "forking": https://en.wikipedia.org/wiki/Fork_(software_development)#Fo... It's fundamental to the health and growth of the open source community.
I am aware. Community management is different from what is legally possible. Were a project owner start to act in a self-interested or malicious manner, then I think proudly and aggressively forking a project is a great idea. That's not Redis. Like I said, it may be a good idea to have a multi-threaded Redis, but Redis users tend to love Redis. I would probably lean into that goodwill instead of against it.
Re: KeyDB CEO Interview: Getting into YC with a Fork of Redis
#40Earlier quoted context omitted.
They have Elasticache which is always a concern. In terms of open source projects my read is they really don’t want to run their own and are much more comfortable operating open source as a service. They “forked” Elastic Search 2 years ago and basically did nothing with it until it was re-licensed a few months ago. Now that they are investing more into it I’m interested to see how they handle it long term.
This seems somewhat orthogonal to the question asked. They have Kinesis which competes with Kafka, SQS with competes with a variety of message queues, redshift, dynamo db, etc and it’s my understanding that Athena was originally a fork of Presto. So, they could definitely move more heavily into the caching space if they see there’s demand.