Skip to content

Couple of Queries #4

@lkarthee

Description

@lkarthee

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions