Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE-REQUEST] Search VALORANT Leaderboard by PUUID #936

Open
raimannma opened this issue May 22, 2024 · 0 comments
Open

[FEATURE-REQUEST] Search VALORANT Leaderboard by PUUID #936

raimannma opened this issue May 22, 2024 · 0 comments

Comments

@raimannma
Copy link

raimannma commented May 22, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants