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

Implement Internal Persistence and Configuration #6

Open
kwiesmueller opened this issue Jul 5, 2018 · 0 comments
Open

Implement Internal Persistence and Configuration #6

kwiesmueller opened this issue Jul 5, 2018 · 0 comments
Labels
config enhancement New feature or request
Milestone

Comments

@kwiesmueller
Copy link
Member

As already outlined in #5 , #3 and #4 configuration and other persistent data inside gorcon should be available at any time for any service.
Going even further #5 outlines the fact, that starting the binary itself should already offer a barebone gorcon mode open for setup through the CLI or API which has to result in some kind of config being stored to keep functionality over restarts.

This requires us to build some kind of internal persistence layer for storing and accessing both configs and other data and also allowing change at runtime with potentially immediate impact on other services.

One pretty good example for this is the internal LogLevel. In an ideal implementation it would be possible to change the LogLevel at any time and see immediate impact.
While this feature might be limited through our use of zap for doing logging, it is a good example.
Other examples are adding scheduler events or updating them on the fly.

The exact design of this feature is not decided yet, all that is clear for now is it's importance for our final vision.
References might be found inside the traefik project which already uses consul/etcd for comparable features.

Acceptance Criteria:

  • Dynamic persistence for configs and data inside the entire application
  • Accessible by every part of gorcon at any time
  • Potential to enact and distribute changes to configs and data at realtime
@kwiesmueller kwiesmueller added enhancement New feature or request config labels Jul 5, 2018
@kwiesmueller kwiesmueller added this to the 0.1 milestone Jul 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant