topk
topk copied to clipboard
An almost deterministic top k elements counter Redis module
I tested case when topk overflows as below: > 127.0.0.1:6379> TOPK.ADD KEY 5 K1 K2 K3 K4 K5 > (integer) 5 > 127.0.0.1:6379> TOPK.ADD KEY 5 K1 K2 K3 K4...
I made a test as below and found an issue on PRANGE command. The output when range 0 to 100 are correct however range 1 to 100 are not correct....
I have played with your topk module and found something that make me confuse. I don't know whether it is bug or not. Please help to confirm. I made a...
I found that you prefer to page https://en.wikipedia.org/wiki/Percentile_rank to calculate the percentile rank, however source code is implemented in another formula. Is it your intention?? It may lack of multiplying...
- for ASC it run correctly because it replies with vector[0] to vector[vector_size-1] - for DESC it run not incorrectly as my previous comment because replies with vector[vector_size] to vector[1]....