News for hackers. Stuff that matters.
Re:EloqKV, a distributed database with Redis compatible API ... by esafak on Tuesday August 19, 2025 @09:22AM (#44951218)
It's weird that they don't mention similar distributed NewSQL databases like TiKV, which also has a MySQL layer (TiDB), and position themselves as a Redis replacement.
Re:EloqKV, a distributed database with Redis compatible API ... by anonzzzies on Tuesday August 19, 2025 @11:06AM (#44952422)
Tikv is very (very) slow (compared to redis, not sure about elogkv) and it's redis layer seems unmaintained. TiDB is very interesting product ; we tried to replace our massive mysql (master with multi read replica/standby's) system and it is just so slow that it's unusable really. Maybe it's great for other goals though, I don't know; I like the idea so we tried some setups with it.
Re:EloqKV, a distributed database with Redis compatible API ... by liunyl on Tuesday August 19, 2025 @01:05PM (#44953753)
According to their benchmark results read latency is comparable to redis even under 'Persistent Transactional Mode'. Might be a solid choice for people who don't really need complicated relational database but need the data to be persisted
Re:EloqKV, a distributed database with Redis compatible API ... by Octoth0rpe on Tuesday August 19, 2025 @09:40AM (#44951421)
Titan/Tidis (the redis compatible servers built on top of TiKV) don't seem to have any recent activity in their public repos: - https://github.com/yongman/tidis - https://github.com/distributedio/titan

KVRocks (which _is_ mentioned) does, as does valkey (also not mentioned, but probably only because it's not that different from redis at this point IIUC).

Re:EloqKV, a distributed database with Redis compatible API ... by esafak on Tuesday August 19, 2025 @09:47AM (#44951494)
A person who wants transactions and a relational layer isn't going to use KVRocks, but sure, if you only care about the key-value part. I gave tikv/tidb as an example; there are others.

Writing your own Redis-like interface is trivial, so tidis et al don't matter to me. Even with Redis you should write an interface so you can swap it out.

Re:EloqKV, a distributed database with Redis compatible API ... by hubertzhang on Tuesday August 19, 2025 @01:55PM (#44954316)
Some Redis variants focus on persistence—KVrocks, for example, or MemoryDB, which emphasizes durability through redo logs to minimize data loss. However, they are not truly transactional, since they lack fundamental rollback semantics and distributed transaction.

EloqKV, by contrast, is fully transactional. It supports distributed Lua, MULTI/EXEC, and even SQL-style BEGIN/COMMIT/ROLLBACK syntax. This means you get the transactional guarantees of a database with Redis-level read performance. Writes are slightly slower since EloqKV ensures durability, but in return you gain full ACID safety. Most importantly, you no longer need to worry about cache coherence issues between a Redis cache and a separate SQL database—EloqKV unifies them into a single, reliable system.

Re:EloqKV, a distributed database with Redis compatible API ... by nekitamo on Tuesday August 19, 2025 @09:39AM (#44951417)
Last I looked the TiKV Redis layers hadn't been updated in years, and were missing many Redis features (such as streams).

https://github.com/yongman/tidis

https://github.com/distributedio/titan

Re:EloqKV, a distributed database with Redis compatible API ... by eloqdata on Tuesday August 19, 2025 @01:29PM (#44954022)
TiKV is a great project and we have a lot of respect for their work. EloqKV is based on a very different architecture [1], and we also have MySQL compatible [2] and MongoDB compatible [3] databases build on top of the same architecture. They all inherit the extreme performance, scalability, fault tolerance, and ACID properties due to the common underpinning.

[1] https://www.eloqdata.com/blog/2025/07/14/technology

[2] https://github.com/eloqdata/eloqsql

[3] https://github.com/eloqdata/eloqdoc

Re:EloqKV, a distributed database with Redis compatible API ... by the_precipitate on Tuesday August 19, 2025 @02:23PM (#44954611)
I have tried TiKV and TiDB but they are quite slow. EloqKV is much faster, especially for in-memory reads. I use it to replace KVRocks, which is just a single node KV store wrapper around RocksDB with a Redis API, and EloqKV nicely outperforms it.