dgkanatsios / azuregameserversscalingkubernetes

Scaling Dedicated Game Servers on Azure Kubernetes Service
MIT License
39 stars 16 forks source link

Better Port assigning #10

Closed dgkanatsios closed 6 years ago

dgkanatsios commented 6 years ago

Right now a port is randomly created and it’s existence is checked on a azure Storage. It would be faster and more optimal if the entire Port table contents are loaded into memory first.

dgkanatsios commented 6 years ago

Table Storage dependency was removed in #11. However, the current implementation (Custom PortRegistry CRD) can certainly be enhanced.

dgkanatsios commented 6 years ago

Created a better Port Registry in #12 However, we still don't reserve ports per Node, this should be the optimal case. Need to see how to solve that, since the Node that the dedicated game server will be scheduled will be known when we deploy the DGS. Maybe solve it in accordance with a custom scheduler?

dgkanatsios commented 6 years ago

Closing as this will be created to fix #19