question

snlaliriza avatar image
snlaliriza asked

GetLeaderboardAsync takes too much time

Hi everyone!

We have an Azure function that retrieves the top 100 players along with their statistics. Inside the function, we utilize the GetLeaderboardAsync method to fetch the leaderboard for the top 100 players, and the GetLeaderboardAroundUserAsync method to retrieve the player's data from the server API. However, we have recently encountered an issue where the execution time of GetLeaderboardAsync has become unacceptably long.

We have made efforts to identify and resolve this issue by reviewing our code and optimizing the function's performance. However, we are still unable to determine the exact cause of the prolonged execution time for GetLeaderboardAsync.

Thank you in advance for your help!

Best regards,

6110-statistic.png

CloudScriptLeaderboards and Statistics
statistic.png (44.4 KiB)
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Neils Shi avatar image
Neils Shi answered

This issue could be related to the recent incidents about Leaderboards : PlayFab Status - Leaderboards APIs are failing. This issue has been resolved, you can try again to see if problem persists.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.