redishyperloglog

Is it possible to decrement a HyperLogLog set in Redis


Let's say that i have a hyperloglog in redis which counts messages is there any provisions whereby I can to some degree account for delete messages?


Solution

  • No, the HyperLogLog doesn't support the concept of deletion. Instead, use a different counter (could be an integer, Set or HyperLogLog) and subtract the totals.