question

shivaprasadbadiger avatar image
shivaprasadbadiger asked

Limits for Concurrent Request for leader-board.

FYI's:

We are only using leader board feature.

We have one server which updates the leader board, with only one statistic (int)

We may have couple of million users (worst case at a time).

Our server will update that statistics and clients will only be fetching the leader-board for display purposes.

Would like to know:

Q1: How many API calls per minute can server do to update one statistic.( So we can adjust the task scheduler to be within fair limits).

Q2: Number of leader board fetches per minutes is for per client basis or per title basis?

Leaderboards and Statisticslimits
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

·
brendan avatar image
brendan answered

How many players can a single server host, and how many players can be in a session? Is there a scenario in which a single server would need to update more than a few dozen players at a time? If so, what are the details?

But yes, the number of API requests from clients is on a per-client basis, not per-title.

7 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.

shivaprasadbadiger avatar image shivaprasadbadiger commented ·

For example 100 out of 10000 players may finish their game at a same time, their data get uploaded to our server and we will process it and send a score to Playfab to update the leader board(We are expecting to have fairly real-time leader-board). I just wanted to know,

1:How long should my server wait before pushing these statistics update one after the other.

2:Can play-fab servers handle multiple update request from same server?If so we don't have to qeueue our request.

0 Likes 0 ·
brendan avatar image brendan ♦♦ shivaprasadbadiger commented ·

In most cases, it's a good idea to wait on a response to a call before making the next one. This is particularly true on the client side, but it's not critical for servers. So yes, you can make multiple calls at the same time. And if each of those statistic update calls is for a separate player, 100 calls from the server to update stats at the end of the session wouldn't be an issue.

0 Likes 0 ·
shivaprasadbadiger avatar image shivaprasadbadiger brendan ♦♦ commented ·

Hi Brendan appreciate the help. I have still small clarification needed to be done with respect to this.Our photon server gets calls to upload data to Playfab asynchronously. each of this request run in a context that is independent of each other. So each task might raise Playfab request without any idea how man other of same tasks are doing same thing.

In this situation, i was wondering weather our server will get throttled or not.

0 Likes 0 ·
Show more comments
shivaprasadbadiger avatar image shivaprasadbadiger commented ·

Bump. Trying to get this post up since it is not answered yet.

0 Likes 0 ·
brendan avatar image brendan ♦♦ shivaprasadbadiger commented ·

We work hard to make sure that we answer all questions in our ticketing system and forums as quickly as possible, but we do have finite resources - please expect that answers can take up to two business days at heavy load times.

0 Likes 0 ·
shivaprasadbadiger avatar image shivaprasadbadiger brendan ♦♦ commented ·

Sorry thanks....

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.