question

mail-4 avatar image
mail-4 asked

Questions about PF Rest API and Unreal OnlineSubsystemPlayFab

For lobbies, we are currently using Rest API calls via the Playfab C++ SDK. We are getting throttled very quickly - this post (https://community.playfab.com/answers/84363/view.html) suggests the limit of GetLobby is 12 calls per 2 minutes, and the limit of UpdateLobby is 20 calls per 2 minutes.

  • Is there a documentation page that details the limits of each routes of the Rest API?

  • Also, adapting for such limits (only 1 lobby update every 6 seconds) would make our lobby flow slow, which might disatisfy our players. Does Playfab have any recommendation to make the lobby experience seem more realtime?

  • Does the Unreal OnlineSubsystemPlayfab provide realtime updates?

Thanks

apissdksunreal
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

·
Xiao Zha avatar image
Xiao Zha answered

>>Is there a documentation page that details the limits of each routes of the Rest API?

Currently, PlayFab does not provide a documentation page detailing the limits of each route for the REST API. If you want to know the limitations of certain APIs, you can ask in the forum.

>>Does Playfab have any recommendation to make the lobby experience seem more realtime? Does the Unreal OnlineSubsystemPlayfab provide realtime updates?

PlayFab provides Multiplayer SDK (Lobby and Matchmaking SDKs include the OnlineSubsystemPlayfab ), which have built in support for real-time notifications. You may refer to Lobby SDK Quickstart - PlayFab | Microsoft Learn.

However, even with the Multiplayer SDK, players are still subject to UpdateLobby request rate limits when they need to update their lobby. There are generally two situations when calling the Update Lobby API. One is when the lobby owner updates lobby data or access policies, etc., and the other is when other players in the lobby update member data(such as game skins, equipment held, etc.). In these two situations, the demand for updating the Lobby is usually not too high. What is the specific scenario you want to achieve? Why is UpdateLobby API called frequently?

Please remember that the rate limit of Update Lobby API is for the player, it’s not mean that the lobby can only be updated at this frequency (for example, when 2 players update the lobby, the total number of updates of the lobby in two minutes may be 40.).

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.