You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we can only retrieve the leaderboards by pagination, we can only query 200 players in one step and a leaderboard can have up to 15k players, so we would need 75 queries to retrieve the full leaderboard for a single region.
But most of us only need the position of a single player, and 75 queries for that is too slow and inefficient. That's why we cache the rankings 24/7 for all regions and all players. This leads to an unnecessary load on our side and yours.
I would love to use a query arg to filter the leaderboard according to a specific puuid.
Developer Impact
Cost: Requires me to run an extra background ticker to refresh my leaderboard cache.
Efficiency: Requires me to iterate over every leaderboard in every region, which is horribly inefficient.
Issue Comments
I don't know what the structures in your backend look like, but if it is possible for you to filter the rankings by a puuid, it would be handy if we developers could do the same. This would significantly reduce the number of requests to the leaderboard and save us and you time and money.
The text was updated successfully, but these errors were encountered:
Problem Description
Currently we can only retrieve the leaderboards by pagination, we can only query 200 players in one step and a leaderboard can have up to 15k players, so we would need 75 queries to retrieve the full leaderboard for a single region.
But most of us only need the position of a single player, and 75 queries for that is too slow and inefficient. That's why we cache the rankings 24/7 for all regions and all players. This leads to an unnecessary load on our side and yours.
I would love to use a query arg to filter the leaderboard according to a specific puuid.
Developer Impact
Cost: Requires me to run an extra background ticker to refresh my leaderboard cache.
Efficiency: Requires me to iterate over every leaderboard in every region, which is horribly inefficient.
Issue Comments
I don't know what the structures in your backend look like, but if it is possible for you to filter the rankings by a puuid, it would be handy if we developers could do the same. This would significantly reduce the number of requests to the leaderboard and save us and you time and money.
The text was updated successfully, but these errors were encountered: