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 Roman Golenok · Jun 13, 2019 at 01:02 PM · apisPlayer DataCustom Game Servers

Server API limitations

We planned to create game with asynchronous multiplayer support and using playfab for player specific data and external server for computing battles and other specific tasks.

In our case we need to update a batch of users after battle calculated, possibly thousands.

Question: is there any limitations to server call api? What will be if we will try to update 1000 or more players UserData in one second?

Comment
Choi Yan Lok

People who like this

1 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 jital · Jun 13, 2019 at 08:25 PM

Hello,

There is a general rule of no more than 3 PlayFab API calls per second, this is for all API calls. For updating UserData there is a specific limit of 10 UserData updates per 10 seconds. it is required that this data be stored in the Player's UserData instantly or can this data be store over a longer span of time?

Comment

People who like this

0 Show 7 · 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 Roman Golenok · Jun 13, 2019 at 09:06 PM 0
Share

Are you telling about limitations for *one* player? Do you want say that I can't update 100 different players statistics or their internal data in one second in playfab?

avatar image jital ♦ Roman Golenok · Jun 14, 2019 at 03:27 PM 0
Share

To clarify, the limits that have been specified are on a per-player basis, and averaged over the life of the session, a few calls a minute should be your target.

Additionally, no title should be making calls per player at this high of a rate, apart from short bursts. Making calls multiple times per second over a prolonged period will result in your title being throttled.

avatar image Roman Golenok jital ♦ · Jun 14, 2019 at 03:33 PM 0
Share

I didn't understand.
Will be 1000 or more calls per second throttled where each call is for unique player.

To clarify:
1 call per player for thousand players.

Show more comments
Show more comments
avatar image Choi Yan Lok · Jan 09, 2021 at 10:30 AM 0
Share

@Brendan Has the 1000calls/10s server API rate-limit removed along with the new consumption-based pricing? I just do some test, and seems like I could login/register over 5k users within 10 seconds using "PlayFabServerAPI.LoginWithServerCustomIdAsync".

It would be great if we could get a confirmation, as our game will be using an external server to sign in all users, and we don't want it to be throttled during production.

avatar image Brendan ♦♦ Choi Yan Lok · Jan 10, 2021 at 09:50 AM 1
Share

No, the rate limits on the Client and Server API calls has not changed. However, the rate limits are currently enforced on a per-server basis. And since the service runs a great many servers for load balancing, it is possible to exceed those limits from time to time.

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

    5 People are following this question.

    avatar image avatar image avatar image avatar image avatar image

    Related Questions

    Azure Functions in Unity 1 Answer

    Problem with Google login and Playfab 1 Answer

    Get PlayFabId using email 1 Answer

    GoogleOAuthNotConfiguredForTitle 1 Answer

    How to: POST https://titleId.playfabapi.com/Admin/ResetPassword 3 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