A multithreaded fork of Redis that is faster
docs.keydb.dev
A multithreaded fork of Redis that is faster
1–10 of 164 posts
Re: A multithreaded fork of Redis that is faster
#2Re: A multithreaded fork of Redis that is faster
#3I would like to hear from somebody who is using this in production. We started to use Dynomite recently after hearing good things. Would like to hear comparisons
Re: A multithreaded fork of Redis that is faster
#4Re: A multithreaded fork of Redis that is faster
#5Show HN: KeyDB – A Multithreaded Fork of Redis, https://news.ycombinator.com/item?id=19257987
KeyDB: A Multithreaded Redis Fork, https://news.ycombinator.com/item?id=19368955
Re: A multithreaded fork of Redis that is faster
#6I've always considered the single-threaded nature of Redis to be one of its greatest features.
Re: A multithreaded fork of Redis that is faster
#7I've always considered the single-threaded nature of Redis to be one of its greatest features.
Unlike most databases the core data structure is the
fastest part of the system. Most of the query time
comes from parsing the REPL protocol and copying data
to/from the network.
I wonder if anyone in the Redis ecosphere has explored a binary client server protocol, something that could be parsed/compiled on the client and then executed without parsing on the server, if the above is really true seems like that might offer even more perf gain than multithreading on the server.Re: A multithreaded fork of Redis that is faster
#8I've always considered the single-threaded nature of Redis to be one of its greatest features.
Because it seems like this guarantees that. It mostly parallelizes the command parsing and networking side. The actual core hash table is guarded by a global lock, so you could still get all those single-threaded guarantees.
Re: A multithreaded fork of Redis that is faster
#9I would like to hear from somebody who is using this in production. We started to use Dynomite recently after hearing good things. Would like to hear comparisons
Same! I'd also be curious to hear about production scenarios that would really benefit from Redis going 5x faster. It's pretty darn fast to start with!
Our website is definitely not "high traffic" but we get somewhere around 300,000 requests a day, mostly concentrated around business hours (We're a local clothing wholesaler).
I haven't tested it under production loads, but just swapping our redis for keydb (THANKS DOCKER!) I saw no improvement in my artificial load tests.
I didn't expect to see much real improvement for this use case, but I just thought it was worth mentioning that it isn't necessarily faster for all workloads.
Re: A multithreaded fork of Redis that is faster
#10I've always considered the single-threaded nature of Redis to be one of its greatest features.
Can you elaborate on why? As someone who works on parallel/concurrent algorithms and data structures a single-threaded system design seems anathema to most research over the past decade (maybe excluding H-Store, which uses local single-threadedness in an interesting way).
I am sure it would be possible to provide these guaranties while offering concurrent execution but most likely at the expense of a simple design.