can keys be stored in memory ?
carr123 opened this issue · comments
I wander if keys can be stored in memory, and have 2 or 3 replicas across nodes.
i don't need data persistence, i don't have expensive ssd disk. i just need speed and survive one node crash.
if could, how ?
No, it can't.
Tidis
use tikv
as backend storage, served by RocksDB
. RocksDB
is just a disk key value storage and provide good performance for write.
If you want store all data in memory or care about the performance, just use redis
or redis cluster
, which will have excellent performance.
Tidis
is focused on the scenario where a large amount of data have and not extremely sensitive with the latency.
For now, close this issue.