incubator-pegasus
incubator-pegasus copied to clipboard
Question(New Feature): Does Pegasus need `sort key` sampling function?
background
- Users use multiple clients to access the cluster. It is not easy to collect hot content. (Advertising business scene)
- Obtain hot content can help users optimize reading and writing.
idea
Implement a function to sample the read content over a period of time. [In get mult-get operation]
example:
// "sample_key",
// "start or stop sample sort keys on a replica of a replica server",
// "<-a|--app_id num> "
// "<-p|--partition_index_list num> "
// "<-c|--sample_action start|stop|query> "
// "<-t|--duration_time_minute num>"
// "<-s|--sampling_times num>"
// "<-l--node_list>"
// "<-r|--reslove_ip>"