Author Topic: Masterserver fallback ( ideas? )  (Read 1959 times)

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Masterserver fallback ( ideas? )
« on: 2 January 2012, 16:17:51 »
Today the Masterserver was down and caused some strange behaviours in MG.
Anyone has an idea how to handle a fallback masterserver in case the original one is unreachable?
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

will

  • Golem
  • ******
  • Posts: 783
    • View Profile
Re: Masterserver fallback ( ideas? )
« Reply #1 on: 2 January 2012, 16:35:52 »
Introducing redundant servers e.g. dns load balancing means communicating between the master-servers.

It is perhaps easier to put the logic into the client instead; if the client supported multiple masterservers at once, and logged into all of them, and broadcast games to all of them etc, and merged duplicate results it gets from all of them and so on, you can have redundancy that way without needing masterservers to know about each other.

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Re: Masterserver fallback ( ideas? )
« Reply #2 on: 2 January 2012, 17:31:44 »
Lan play and IP connecting should allways be availlible, advanced features like master servers ect should not have a effect on games where ports and IP's are correct
WiP Game developer.
I do danish translations.
"i break stuff"

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Masterserver fallback ( ideas? )
« Reply #3 on: 2 January 2012, 18:43:10 »
Will's idea is exactly how many similar scenarios work and is likely to yield the best results for the resources we have.

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Re: Masterserver fallback ( ideas? )
« Reply #4 on: 2 January 2012, 18:47:28 »
Softcoder, notice that will's and mine suggestions are slightly different in nature.

I'm just requesting that direct connection always should be available, Master server or not.

Will is suggesting what MG should do in case one master server fails.
WiP Game developer.
I do danish translations.
"i break stuff"

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Masterserver fallback ( ideas? )
« Reply #5 on: 4 January 2012, 08:29:19 »
I guess using DHT instead of a central masterserver could be an option.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

will

  • Golem
  • ******
  • Posts: 783
    • View Profile
Re: Masterserver fallback ( ideas? )
« Reply #6 on: 4 January 2012, 10:06:03 »
DHTs are an interesting subject but they don't offer redundancy

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Masterserver fallback ( ideas? )
« Reply #7 on: 14 January 2012, 10:48:28 »
DHTs are an interesting subject but they don't offer redundancy

Wikipedia mentions that redundancy can be achieved with DHT, too. But I agree with you, DHT is not a solution to the lack of redundancy.

What we should do for now is to ensure that there are no or as few as possible "strange behaviours" (quoting Titi) - which we will need to describe more closely to be able to fix them - when the masterserver is unavailable, since this will happen again in the future both in terms of planned and unplanned outages. We could have a high availability setup if we end up growing (much) more but this is not something we can currently afford.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Re: Masterserver fallback ( ideas? )
« Reply #8 on: 1 February 2012, 08:41:38 »
Let's forcus on what we habe right now, just make it so that megaglest isn't depending on a masterserver, so if the master server is down the game will simply state "cannot connect to master server,is the server down?".
WiP Game developer.
I do danish translations.
"i break stuff"

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: Masterserver fallback ( ideas? )
« Reply #9 on: 1 February 2012, 08:48:33 »
Very good point!
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Masterserver fallback ( ideas? )
« Reply #10 on: 2 February 2012, 15:50:25 »
So what needs to be changed for this to be this case? As with all issues, first of all we will need a precise description of the problem(s), if any.

I know that if the masterserver is not available the game will display a message stating something along the lines of "no masterserver is configured / defined" which is somewhat misleading. Are there any other problems?
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

 

anything