You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Thanks for tanx repo, i have learnt a lot from it.
I have a couple of questions.
Tanx.Game.Manager
is started usingGenServer.start/3
. This causes the process to start without links outside supervision tree. If I kill theTanx.Game.Manager
process in observer by sending kill (from :observer) - it does not respawn the Manager. ShouldGenServer.start_link/3
be 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.Registry
hasmeta/2
andput_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.
The text was updated successfully, but these errors were encountered: