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

feature request - support db store for accounts #89

Open
Anhui-tqhuang opened this issue Jan 18, 2022 · 2 comments
Open

feature request - support db store for accounts #89

Anhui-tqhuang opened this issue Jan 18, 2022 · 2 comments

Comments

@Anhui-tqhuang
Copy link

Anhui-tqhuang commented Jan 18, 2022

when deploying the nats-account-server on kubernetes, we should make sure we don't lose accounts though we have three replicas and PVC setup.

it's not easy to setup a backup-restore strategy on pvc with low RPO and RTO, i wonder would it be possible to add a new db store like postgresql, as a result, it would be much easier for recovery.

@aricart
Copy link
Member

aricart commented Jan 18, 2022

@Anhui-tqhuang the current nats-server supports the nats resolver which effectively allows the cluster to synchronize configurations, unless you have a need to have an HTTP endpoint for doing updates, you should not be using the nats-account-server.

@Anhui-tqhuang
Copy link
Author

@aricart hey, thanks for the reply!, if i use nats resolver, i still needs to consider how to backup-restore data kept in the PV, if it's possible to use DB as store for nats resolver?

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

2 participants