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 yuliuschn · Dec 11, 2020 at 02:17 AM · Matchmakingmultiplayer

Matchmaking with Multiplayer Server Question

Hi..

1. Is it correct that if we use ServerAllocationEnabled = true with playfab matchmaking, every successful matchmaking will run 1 docker container within the VM? It means that 100 matches = 100 docker container instances?

2. Is it possible for us to use the setting above, but instead of creating 1 docker container for every successful matchmaking, we can configure it with different settings? The settings that come to mind is : number of match, cpu usage, etc that is provided out of the box by playfab instead of using our own logic.

The reason I ask this is when it is 20 player per matches or when each match require huge resources, probably it makes sense to create new container every match. But the game that i am working on is 1 vs 1. With my current understanding as I stated on point 1, when we have 200 match, it will be 200 container which makes me worry about the overhead that comes with docker. So, I am thinking if we can do with for example 10 docker instances that accommodates 20 match each.

So, every 20 successful matchmaking with ServerAllocationEnabled = true will give us the same docker instances.

3. If point no 2 is not possible, do you have any thought about using a lot of docker instances within 1 VM.

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 Citrus Yan · Dec 11, 2020 at 08:36 AM

>>1. Is it correct that if we use ServerAllocationEnabled = true with playfab matchmaking, every successful matchmaking will run 1 docker container within the VM? It means that 100 matches = 100 docker container instances?

Yes, that’s correct.

>>2. Is it possible for us to use the setting above, but instead of creating 1 docker container for every successful matchmaking, we can configure it with different settings? The settings that come to mind is : number of match, cpu usage, etc that is provided out of the box by playfab instead of using our own logic.

No, currently PlayFab does not offer such feature. So it looks like you want to host multiple sessions in a single docker instance, for that I’m afraid you’d need extra work outside of PlayFab, please refer to this thread for more details: Is it possible to host multiple game sessions on one vm instance? - Playfab Community

Comment

People who like this

0 Show 0 · 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

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

    [VERY URGENT] Unity Matchmaking with Mirror cannot connect to server 2 Answers

    How to let client know who they are playing against? 1 Answer

    Pricing Question About PlayFab Servers (Using Linux Instances) 1 Answer

    How to increase the queue limit 1 Answer

    Getting Platform During Custom Auth 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