question

Stan Ry avatar image
Stan Ry asked

How do data value update limits work?

In Title Settings/Limits there is a section wich says:

Number of times the same player data value may be updated within a period of 15 seconds - 10 updates

What exactly does it limit?

Does it count numbers of key-value pairs in a single update request or is it a number of server.UpdateUserInternalData operations ?

Example - I have server.UpdateUserInternalData which updates 8 Key-value pairs

If I exceed this limit - what will happen ? will the whole request fail or will it update some of those values and skip the others that do not fit in limit?

Is it possible that data is somehow missed in this situation - like updated with empty string/json?

Thanks in advance

apisCloudScriptPlayer Datadatalimits
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

>>What exactly does it limit?

The “Player data value updates per time” limit (the burst limit) means the maximum number of time a single key/value pairs can be updated in that period. For instance, if you update the (Key1-Value1) pair 11 times within 15 seconds, that would probably hit the “Player data value updates per 15 seconds – 10 updates” limit. Please check out this answer for more details: https://community.playfab.com/comments/13798/view.html

>>Does it count numbers of key-value pairs in a single update request or is it a number of server.UpdateUserInternalData operations ?

No, as mentioned above, it means the maximum number of time a single key/value pairs can be updated in that period. In this case, the corresponding limit would be the “Player data updates per request”, which is 10 pairs per request by default.

For updates that failed, which is quite rare if you keep it under the limit, PlayFab will return corresponding responses with detailed error info which you can refer to and re-send the requests.

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]