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 Alberto Corona · Aug 03, 2020 at 10:51 PM · documentation

QoS Measurements with P2P via PlayFab Party

I'm looking for clarification on how PartyManager::GetRegions works with P2P connections not using PlayFab servers. The documentation does not quite clarify on whether there is any differentiation in how QoS is measured in different use cases of PlayFab Party. Is it safe to assume that the method of which QoS is measured does not change between PlayFab Party use cases? Getting a few more details about how QoS measurements works with Party would help me ensure there are no regressions in our current work to move to PlayFab Party in terms of ensuring that QoS is correctly/adequately measured between clients

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 SethDu · Aug 04, 2020 at 09:21 AM

May I ask what do you mean by “different use cases”? Can you share more details with us?

The Party will always involve PlayFab (Azure) servers, because there are hosted relay servers on Azure to help improve the P2P connections. By default, Party Network may automatically select the region with the lowest latency so that the P2P connections are optimized within Azure.

According to the documentation, the QoS will be measured when Party is initialized, but only after PartyRegionsChangedStateChange reports success, QoS can be retrieved. PartyManager::GetRegion is for retrieving this information so that you may manually select preferred region according to your specific criteria.

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 Alberto Corona · Aug 04, 2020 at 02:09 PM 0
Share

Apologies, I had some mixup between Party and PlayFab itself when referring to use cases.I seem to keep thinking of Party as a subset of PlayFab.

As you mention, Party Network will automatically select the region with the best QoS. In that case then PartyManager::GetRegions is only meant for retrieving QoS details and not necessarily for selection of the region with the best QoS for the client, even though the functionality to do so is present?

avatar image SethDu ♦ Alberto Corona · Aug 05, 2020 at 02:46 AM 0
Share

No, it is not necessary, but you can still implement it anyway. What I have mentioned is that if there are no specific requirements, directly initializing Party network will be fine because it already selects the best QoS. However, there can be different criteria for developers to select regions. For example, Party will charge differently in different zones, sometimes we may choose between price and latency.

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

    Please document Content Type on custom build upload...,Please document Content-Type on custom build upload.... 1 Answer

    UE4 PlayFab pipeline interactions 1 Answer

    Multiplayer tutorial for unity 1 Answer

    Entity files docs sample doesn't compile and other docs gripes 1 Answer

    Questions on the context parameter 2 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