Replies: 2 comments 1 reply
-
|
@PingXie Delightful timing. We (AWS) were going to propose a new Memory is a bit of a harder problem unless we make it "approximate". There has been some discussion about having some type of async process that incrementally scans the memory in the database and provides a better approximation, but that isn't quite point in time. It will find hot keys though. |
Beta Was this translation helpful? Give feedback.
-
|
For continuity, let's move future discussions here: #10472. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
With the new slotToKey struct, it is possible to start tracking some metrics, such as memory usage (key size + value size but not counting fragmentation) and keyspace_hits, at the slot level. I can see this information being useful for an application to understand the skew in its workload. I wonder what is the best way to expose these metrics? Should it be part
INFOorCLUSTER INFO, which would make the output explode though? Or should it be exposed via a new cluster command,CLUSTER GETSLOTINFO <slot_number_1> <slot_number_2> ... <slot_number_n>perhaps? @zuiderkwast @madolson what are your thoughts?Beta Was this translation helpful? Give feedback.
All reactions