question

tyricwei avatar image
tyricwei asked

How to ensure the same API performance with Azure function and PlayFab for global players?

Hi

Since we will launch a global game, I would like to clarify some questions below to ensure the same performance.

For example:

We have the following architecture and flow.

Arch:
Client <--- Playdab SDK <--> Network <--> PlayFab <--> Azure Function <--> DB

  • Client can be anywhere in the world like the EU, JP, US, CH, and UK.

  • While PlayFab, Azure Function, and DB will be located in West US.

  • Client will send a request to PlayFab by PlayFab SDK

  • PlayFab will bypass the request to Azure Function and DB and get the result to the Client

Question:

  1. Can we set up Azure Function and DB in West US to ensure the same API performance for serving global players in different countries by using PlayFab and PlayFab SDK?

  2. If Azure Function goes down, how many times retry will PlayFab send to Azure Function's API endpoint?

I look forward to your prompt reply.

Eric

apissdksCloudScript
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

·
Simon Cui avatar image
Simon Cui answered

Q1: Can we set up Azure Function and DB in West US to ensure the same API performance for serving global players in different countries by using PlayFab and PlayFab SDK?

Yes, you can set up in West US to ensure the API performance for global use. But the delay may differ among various regions.

Q2: If Azure Function goes down, how many times retry will PlayFab send to Azure Function's API endpoint?

There is no PlayFab official documentation mentioned about retry that PlayFab sent. So PlayFab doesn’t have retry feature currently.

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.