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?
Is it possible to decrement a HyperLogLog set in Redis
Asked Answered
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.
© 2022 - 2024 — McMap. All rights reserved.
messages.created
andmessages.deleted
and just assert the decrement? – KunzitePFADD
the entire dataset. But that becomes less and less feasible with the size of the HLL :( – Kunzite