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?
Answer by Sarah Zhang · Dec 08, 2021 at 07:56 AM
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.
Sometime purchases are not being granted, with no trace in event history? 7 Answers
ConsumeItem and stack removal proper practice 1 Answer
Need more storage for inventory item data value 1 Answer
Cloud Script execution API requests issued limit for standard tier(new plan) ? 1 Answer
Does using Http in CloudScript count toward the API limit? 1 Answer