Curious what's the most elegant way to implement leaderboard across multiple games with SQL database?
I have game G1, and players get different scores there (from 0 to 100) I have game G2, and players get different scores there too (but from 0 to 1000) I have game G3, and players get different scores there as well (from 1000 to 10000)
Probably shared players (but not necessary) How can I implement the leaderboard, so I can show top ranked 5 players across all the games and it'll not kill my DB with tons of SQL queries? I am talking about hundreds and potentially thousands request/second to this leaderboard.
I have few my own ideas, but neither of them seem elegant and simple enough...