Thanks for tanx repo, i have learnt a lot from it.
I have a couple of questions.
-
Tanx.Game.Manager is started using GenServer.start/3. This causes the process to start without links outside supervision tree. If I kill the Tanx.Game.Manager process in observer by sending kill (from :observer) - it does not respawn the Manager. Should GenServer.start_link/3 be used instead for starting Tanx.Game.Manager? Or there is reason behind using start/3?
-
Tanx.Handoff implements game state persistence across the cluster using handoff. Horde.Registry has meta/2 and put_meta/3. Can these be used for saving the game data instead of Tanx.Handoff?
I could not find answers for these questions anywhere. Please help me.
Thanks for tanx repo, i have learnt a lot from it.
I have a couple of questions.
Tanx.Game.Manageris started usingGenServer.start/3. This causes the process to start without links outside supervision tree. If I kill theTanx.Game.Managerprocess in observer by sending kill (from :observer) - it does not respawn the Manager. ShouldGenServer.start_link/3be used instead for startingTanx.Game.Manager? Or there is reason behind usingstart/3?Tanx.Handoff implements game state persistence across the cluster using handoff.
Horde.Registryhasmeta/2andput_meta/3. Can these be used for saving the game data instead of Tanx.Handoff?I could not find answers for these questions anywhere. Please help me.