Skip to content

feat(gameserver): lazy startup, lifecycle management - #12

Open
EisigesEis wants to merge 3 commits into
SyST3MDeV:mainfrom
EisigesEis:split/02a-gameserver-lifecycle
Open

feat(gameserver): lazy startup, lifecycle management#12
EisigesEis wants to merge 3 commits into
SyST3MDeV:mainfrom
EisigesEis:split/02a-gameserver-lifecycle

Conversation

@EisigesEis

@EisigesEis EisigesEis commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Lazy start Ramsgate and Training Grounds on request.
  • Fast matchmaking based on gameserver ready instead of timer (see env config).
  • Track player gameserver assignment and live connections and retire idle empty server faster (see env config). Needs lifecycle callbacks with per-server token.
  • Handle startup failures, timeouts, restarts and live adopting.

Testing

  • Ramsgate, Training Grounds: Idle shutdown, lazy startup and then fully functional.
  • Hunts do not shut down early but instead after configured timer. Especially escalations were problematic here bc touch-player keeping alive connection.
  • Readiness timeouts and failed-start cleanup.

Future work

  • Public mm allow adding players in airship.
  • Maybe explicit mm signal when all players abort hunt to close faster.
  • Reuse compatible aborted hunt servers when healthy and new mm of same hunt.

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

Successfully merging this pull request may close these issues.

1 participant