Consider deprecation of all time Ordinary Redis counters
Background
The following discussion from !82604 (merged) should be addressed:
-
@reprazent started a discussion: (+1 comment) Ideally, we'd also be using HLL counters for the pod logs, but the key isn't as big as the dependency list usage counters yet.
[ gprd ] production> Gitlab::Redis::SharedState.with { |r| r.memory('usage', 'POD_LOGS_USAGE_COUNTS') } => 809472 [ gprd ] production>Perhaps we should deprecate these kinds of counters in favour of the HLL ones all together.
Even though Redis counters does not use much memory, over time some of them, that are used for widely adopted features might get significant size and impose noticeable impact on Redis memory consumption
Goal
Consider deprecation of all time Ordinary Redis counters in favor of time limited ones wit TTL set up to auto clean stale data. Such change would require using different quires in downstream business analyst systems