Request Hedging, slow start #3362
Replies: 2 comments 3 replies
-
Hey @ltagliamonte-dd , could you share with us the mechanism you are using yourself for that? You can omit any sensitive data, the team would benefit from the general idea. TBH we've had such requests before, but it is not on our radar right now. As usual any contributions (of any kind) could reduce the time we would need to get it out. |
Beta Was this translation helpful? Give feedback.
-
Hello @tishun, The current warmup mechanism I've implemented, before bootstrapping kvrocks opens all the SST files, with 2 iterators (from beginning and from bottom) samples N keys from the file, starts kvrocks and uses those keys to perform HGETALL (my dataset uses redis hash). In this way the FS cache, and other internal rocksdb data structures get warm. From what I see, when the client receives a new node from |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Folks,
I'm using lettuce client with apache kvrocks (redis on rockdb).
It is performing pretty good for my use case but when a node bootstraps from backup all its caches are cool and I see a small error rate.
I've added an init script that is warming up the shard and it has helped a lot, however it is not perfect.
Based on the fact the also valkey is looking into adding data tiering on disk I think it could be beneficial for everyone look into adding to the redis clients features like
node slow start
orrequests hedging
when the new redis node reports an uptime of N seconds (configurable)My knowledge of this codebase is very low, but If someone could guide me i'm happy to contribute!
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions