Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • API and SDK Questions /
avatar image
Question by andrearossini · Sep 25, 2020 at 10:34 PM · limits

Limits question

Hi,

we are making a client/server game using PlayFab as backend for data and players.

Our server is hosted on AWS GameLift.

Out server should call PlayFab in some situation (end of match). To do this we have created a PlayFab user that we "marked" as server (CloudScript check the ID).

We've linked a particular CUSTOM_ID to that account and the server log in with that.

The question is: when you say that we can Update User Data just N times in S seconds, is the source of the execution important? We call UpdateUserData only from CloudScript functions. Calling UpdateUserData from CloudScript executed by client A generate a "different timer" from calling UpdateUserData from CloudScript executed by client B? Or timer is "global" (So a user can be updated just N times in S seconds regardless from the source)?
This limits are the same if we call the ExecuteCloudScript from Server API?

Thank you for your help.

Best regards,

Andrea

Comment

People who like this

0 Show 0
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Brendan · Sep 25, 2020 at 10:41 PM

The limit concerns the number of times a single piece of data on a single player account can be updated. A server can update many different keys for many different players at a very high rate - that's not an issue.

If you have a situation where you need to have a single piece of data updated by multiple sources, you may be able to use Entity Objects, as they are designed for use cases like Guild data. If, however, it's to aggregate data across large numbers of users (like your whole userbase), you'll need to use Redis or similar to aggregate that data (which you could then update into PlayFab periodically via a Scheduled Task or similar).

Comment

People who like this

0 Show 0 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    No one has followed this question yet.

    Related Questions

    List of Friends with custom data for each 1 Answer

    Login rate limit 1 Answer

    How to remove Player inventory items - not just revoke 1 Answer

    Apple Login error saying ""Not authorized". 1 Answer

    Limits for Concurrent Request for leader-board. 1 Answer

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges