I see this question appear quite a lot for Facebook onsites. Does anyone have a good solution for this?
Some questions I would want answered:
- How would you implement ranking in real time?
- Will the leaderboard be in real time? Or are there any limitations to how often the leaderboard can be calculated?
- What happens to the leaderboard if the players are currently playing? How can we provide a leaderboard that is processing streaming data in real time?
- What algorithms can we use to calculate top 15 players for 1 day, 3 days, 7 days and 1 month?
- What about leaderboards for regions/districts/games/friend circles/etc?