kvrocks
kvrocks copied to clipboard
feat: support Topk data structure
support 5 Operation. TOPK.RESERVE key args(k, width, depth, decay): create TopK data structure. TOPK.INFO key: reply information of args(k, width, depth, decay). TOPK.ADD key value: add values to topk. TOPK.QUERY key value: reply is value existed in topk. TOPK.LIST key: reply item of topk.