incubator-pegasus icon indicating copy to clipboard operation
incubator-pegasus copied to clipboard

Question(New Feature): Does Pegasus need `sort key` sampling function?

Open ruojieranyishen opened this issue 1 year ago • 0 comments

background

  1. Users use multiple clients to access the cluster. It is not easy to collect hot content. (Advertising business scene)
  2. 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>"

ruojieranyishen avatar Jun 05 '24 03:06 ruojieranyishen