question

Brady Brenot avatar image
Brady Brenot asked

64-player game server calling Server/UpdateUserInventoryItemCustomData, will we be rate limited?

We're thinking about using Inventory Item Custom Data to drive some new game systems we're working on, with some ephemeral / per-player stats that wouldn't be appropriate for the Leaderboards/Stats APIs.

Our game server will be hitting this API: https://docs.microsoft.com/en-us/rest/api/playfab/server/player-item-management/update-user-inventory-item-custom-data?view=playfab-rest

It'll be hitting this for 64 players; even if we try to limit the update rate, it's still going to have to go through a lot of players, and there's no batching mechanism in this API. Is there a possibility we'll get rate limited? Is there a way to avoid that?

apisPlayer Inventorylimits
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

·
Sarah Zhang avatar image
Sarah Zhang answered

If you call the Server APIs on your custom server, you can refer to this thread - Server API limitations - Playfab Community. The rate of server APIs is limited to 1000 calls per 10 seconds. Your case won’t exceed the rate limits. Please note, if you call the APIs on CloudScript, there is the additional rate limit for API calls on our legacy CloudScript.

Besides, for Client APIs, you can refer to this thread - What is the limit of calls per second to the api? (executecloudscript) - Playfab Community, as it said, the burst rate limit we allowed for Client API is 100 calls in 2 minutes per IP address.

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.

Error rendering WebPanel (widgets/consolidation-widget.ftl): org.hibernate.hql.internal.ast.QuerySyntaxException: AvailableConsolidation is not mapped [from AvailableConsolidation up where up.node = :node]