Skip to content

Reuse badger disk storage for other purposes #136

Discussion options

You must be logged in to vote

Honestly, this is not something we've thought about much.

How are you using OPA? Through the SDK? Or via the rego packages, or something even lower-level?

I think we'd hesitate introducing any sort of "bring your own badgerdb" feature any time soon. It's still early days for the disk storage in OPA, and I'd be cautious with this -- we don't know how to deal with migrations properly, for example, and having to consider other users of the same database instance would definitely complicate things. It's easier to deal with a database you own completely.

But all that said, you could write your own storage implementation that would use your shared badgerdb instance, with the prefixing dealt wit…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@adamwasila
Comment options

@srenatus
Comment options

@adamwasila
Comment options

@srenatus
Comment options

@adamwasila
Comment options

Answer selected by srenatus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants