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

Determine startup order #49

Open
oubiwann opened this issue Nov 24, 2020 · 0 comments
Open

Determine startup order #49

oubiwann opened this issue Nov 24, 2020 · 0 comments

Comments

@oubiwann
Copy link
Member

oubiwann commented Nov 24, 2020

The following need to be taken into consideration:

  • The external included apps that need to be started
  • The internal external apps that need to be started
  • The operations that need to be performed as part of system bring-up
    • verifying required configuration data is present
    • performing any required database migrations
    • checking for available games in configured directory
    • hashing all game files and checking against those in the db
    • loading any missing files into the DB
    • adding any updated content to the DB
  • The order in which all of these should be done

The first two are handled nicely by OTP releases, but the third will need some custom work and possibly the use of Erlang/OTP start phases (https://erlang.org/doc/design_principles/included_applications.html)

Blocks #46

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