question

brendan avatar image
brendan asked

What are the limits for making calls on player accounts from a server

Question from a developer:

Are there any limits for direct API calls to PlayFab from a custom game servers? We'd like to do things like add/subtract currency for players from our authoritative server.

Custom Game Servers
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

·
brendan avatar image
brendan answered

Obviously, everything has to have a limit somewhere, in order to prevent costs from growing out of control. What we're really concerned about is the rate of change and total amount of change, on a per-player basis. In general, a custom game server should be the authority for the game (to whatever degree you need), with it occasionally updating PlayFab with the information for the player. Think of it exactly as you would the rate at which you would update from a client that's fully authoritative. So, updating a few times a minute is fine (clicker games, as one example, really only need to have a timer that submits an update every minute or two, with occasional "extra" updates when key events occur). If your considering a design which requires a higher update rate, feel free to post the details of why you would need to update data more often, and we can work through the details with you here.

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.