question

totaloncue avatar image
totaloncue asked

Bacth Update Player/User Data for Large Group of Players

We are looking at running some processing on our event analytics stored in Snowflake and setting some UserData for each player based on the results of the same.

As an example, we would like to offer discounts to users based on some logic around their event histories.

What kind of limits should we be aware of and plan for if we try to update UserData for a large group of players (1,000+) in a short period of time by using the Server API?

Player Datalimits
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

·
Citrus Yan avatar image
Citrus Yan answered

Hi, servers are rate limited to 1,000 calls per 10 seconds if you need a higher limit than 1000 per 10 seconds, you will need to talk to our sales team about getting on an Enterprise contract so that we can work with you on custom limits here: https://playfab.com/support/contact/

Moreover, in my opinion, using the Groups feature would be a good way for you to deal with a large group of players. For instance, for players with different discounts, you can assign them to separate groups (different group represents different discounts) with one AddMembers API call for each discount. In this way, you can cut down a large number of API calls. If you are interested, please navigate to the doc above to find out more.

2 comments
10 |1200

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

totaloncue avatar image totaloncue commented ·

Thank you -- we will look at the Groups feature. Are there limits to how many players can be in a group at a given time? Also, are there limits to how many players can be added in a single API call of the AddMembers API?

0 Likes 0 ·
Citrus Yan avatar image Citrus Yan totaloncue commented ·

Hi, There are no specific limits on how many players can be in the same group or how many players can be added in a single AddMembers API call. However, concerning AddMembers API, you must be aware the fact that there is a maximum request size which depends on the web server that PlayFab is using. I don’t know the specific size of it, hence it’s better for you run some tests to tune your request size to avoid errors like “maximum size exceeded”, “time out”, etc.

0 Likes 0 ·

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.