So, interesting thing.
I have disabled execution of this query
"zscore" "uid:41843:followed_tids" "990614"
by hardcoding response of "Topics.filterWatchedTids" function (always return []).
Redis and CPU load decreased of about 50%
Next query on my list is:
- (integer) 369411
- (integer) 1524255134
3) (integer) 291408
4) 1) "zrevrangebyscore"
2) "topics:recent"
3) "+inf"
4) "1524082333364"
5) "WITHSCORES"
6) "LIMIT"
7) "0"
"-1"
which took about 0.3s to run and basically should be cached