Here's the scenario: UI button in Unity triggers a PlayFab call, which in turn triggers an Azure Function.
Testing reveals these calls take approx 350-650 ms to complete. Never faster than 350 though.
I understand there are a lot of pieces to make this function call:
Unity client -> Network -> PlayFab -> Network -> Azure Function -> Network -> PlayFab -> Network -> Unity client
My Azure Functions are hosted in East US. Is part of the slowness inter-region communication?
Would I see a round-trip speed improvement by moving them to the Azure region where PlayFab is hosted? If so, which region?
Do you have any other suggestions to cut the function round-trip time?
Thank you for your time. I appreciate how much work goes into a service like this.