I have just launched my title this week! :)
I am hosting servers on PlayFab and trying to determine the number of servers per machine I should use.
About my game:
- Made with Unity and Photon Bolt
- 6 player matches
- <5 minute battle arena matches
What I am currently doing:
- Hosting 6 servers per Av2 machine with 1 core.
Problem:
After 3+ servers are active, the games begin to feel laggy
What I have done:
Profiling my server build in Unity I found my ram usage to always be <200mb.
Since Photon Bolt requires 7 ports, I thought I might be able to host 8 servers / Av2 1 core machine (since 8*7 = 56, 56 < 60 the max ports available?) and my ram usage should not go above 1.6 GB. This doesn't seem to be the case.
I am unsure if I should focus on optimizing my networking/CPU performance or switch the PlayFab machines I am using.
Does anyone have any suggestions?
Is there a way for me to monitor the PlayFab machines performance?
How can I determine the optimal # of servers/machine?
Thanks!
Josh