Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
doyoubi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
doyoubi
5y ago
Tendis focuses more on persistence and it uses decentralized architecture just as Redis Cluster.
2.
▲
by
doyoubi
5y ago
I have to admit the diagram is a bit misleading. The core idea here is called chunk: https://github.com/doyoubi/undermoon/blob/master/docs/chunk.... Each proxy always runs in front of 2 Redis instan
3.
▲
by
doyoubi
5y ago
Yes! It uses exactly the same slot model in the official Redis Cluster. Each key will first calculate its slot number by a hashing function. Then try to find out the instance with this corresponding slot. So this solution is compatible with
4.
▲
by
doyoubi
5y ago
Cool! Thanks for sharing.
5.
▲
by
doyoubi
5y ago
Nop. It's that a better solution would still be using multiple Redis instances on each physical server. Trying to support multi-threads in the storage engine requires complex synchronization implementation. Sharing nothing between each
6.
▲
by
doyoubi
5y ago
Redis 6 has already supported multiple threads for IO. The memory storage engine is still inside a single thread but I think it's fine.
7.
▲
by
doyoubi
5y ago
Yes, that's accurate. This project runs on top of Redis as Redis has already done a good job as a memory storage engine. And https://github.com/doyoubi/undermoon-operator will help run it with Redis instances toge
8.
▲
by
doyoubi
5y ago
Feel free to let me know if you get any questions :)
9.
▲
Redis Cluster Re-Implemented in Rust: Scaling Redis Easily in Kubernetes
(github.com)
106 points
by
doyoubi
5y ago
|
21 comments