Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couple of Queries #4

Open
lkarthee opened this issue Jul 19, 2019 · 0 comments
Open

Couple of Queries #4

lkarthee opened this issue Jul 19, 2019 · 0 comments

Comments

@lkarthee
Copy link

Thanks for tanx repo, i have learnt a lot from it.

I have a couple of questions.

  1. 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?

  2. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant