nats-account-server icon indicating copy to clipboard operation
nats-account-server copied to clipboard

feature request - support db store for accounts

Open Anhui-tqhuang opened this issue 2 years ago • 2 comments

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.

Anhui-tqhuang avatar Jan 18 '22 01:01 Anhui-tqhuang

@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.

aricart avatar Jan 18 '22 15:01 aricart

@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?

Anhui-tqhuang avatar Jan 19 '22 02:01 Anhui-tqhuang