Hi,
I'll turn to this section, which has always been very helpful, in search of guidance again.
I'll explain my situation:
I have a game which is composed by several different leaderboards. To simplify, let's say we have Daily Game Leaderboard01, Daily Game Leaderboard02, Daily Game Leaderboard03, Daily Game Leaderboard04 and Global Daily Leaderboard.
One important thing to mention, is how Leaderboards relate to the Daily Leaderboard and between themselves. We have this little structure, which we can call "coins" in order to make things simple. Coins are awarded to the player related to their rank on a given Game Leaderboard at the turn of the day. So if a player is ranked first on a Daily Game Leaderboard, doesn't matter which, he gets 100 coins. Second place gets 99, third 98 and so on. Those numbers are the same for all the Game Leaderboards. A player can be ranked in any different position in any Game Leaderboard.
The thing is that in order to populate my Global Daily Leaderboard, I need to run through all the Games Leaderboards, check each player rank in order to find out what is the amount of coins he is getting, and add this value to the Global Daily Leaderboard.
To make it clearer: Global Daily Leaderboard is populated with the amount of coins a user is to get at the turn of the day. This amount of coins relates to the player's rank in each of the Game Leaderboards. It's this sum of the amount of coins of each leaderboard (which relates to the player's rank on each Game Leaderboard) that I want to use to populate this Global Daily Leaderboard.
Problem is I am not being able to find a valid, real-time solution for that. Considering we have a few thousands players on the game, and they represent different entries on different Game Leaderboards, all my solutions will vastly exceed what seems to be a reasonable amount of API calls.
Could you please point me out to an elegant solution for this issue? I'm willing to explain it in another manner, if I was not clear enough.
Thanks in advance.