zunionstore optimization in redis ranking accross multiple keys
I am using code [1] to get rankings accross several keys [2] with values [3] in an app [4]. In short, those are rankings for several quizzes for specific clients. Each ranking can contain millions of entries. Thus, I am wondering whether the “zunionstore” can be avoid somehow. E.g. I need to calculate rankings accross all quizzes, so I am using zunionstore to sum all rankings into one combined ranking. Then it is easy to apply rank function to get the user actual rank.