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 mihigh · Nov 27, 2019 at 01:56 PM · Player Datalimits

Polling Userdata with IfChangedFromDataVersion

Hello,

I currently poll users read only data every 6 seconds, with IfChangedFromDataVersion, as long as the user is in the main menu.

I saw that the matchmaking has a similar limit, hence I put this limit for my poll as well.

If I were to decrease this limit to 3 seconds lets say.

How would that impact:

- the playfab service

- the batwith usage of my users

Thanks!

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 Sarah Zhang · Nov 28, 2019 at 06:12 AM

Do you mean you want to use admin API to get every user’s data per 3 seconds? PlayFab doesn’t support requesting large data too frequently(like such polling operations), we limit all API calls, to prevent issues. If there are thousands of players, it may exceed the API usage limits of a title. If the frequency of API requests exceed the limit, all API calls may be affected. PlayFab will return “This request is not allowed due to API usage limits for the title.” Error. Players will be unable to call the API normally. It won’t be able to ensure getting the result in 3 or 6 seconds. Actual situations depend on the count of players, but generally we don’t suggest polling all users’ data frequently.

Comment

People who like this

0 Show 2 · 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
avatar image mihigh · Nov 29, 2019 at 01:33 AM 0
Share

Every user polls his read only data using client API every 6 seconds. The version changed flag is used to ensure useless data downloads will not happened.

99% of the time his data has no changes, hence nothing is downloaded.

My question is what is the impact of such a operation. And what would be the impact of changing the polling to 3 seconds

avatar image Sarah Zhang mihigh · Nov 29, 2019 at 07:20 AM 0
Share

We limit all API calls. Only calling GerUserData per 3 seconds theoretically won't exceed the limits, but the space of calling other APIs will be small. The impact should depend on the actual situation. You can try to do the stress test by yourself.

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

    2 People are following this question.

    avatar image avatar image

    Related Questions

    How do data value update limits work? 1 Answer

    Player data limit 1 Answer

    Understanding the limits... 1 Answer

    Entity Objects, Entity Files or Legacy player data 1 Answer

    Sometime purchases are not being granted, with no trace in event history? 7 Answers

    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