Use Badger as in-app DB - distributed application

I have a distributed application which is working with Redis as DB service. I’d like to containerize the entire application so I thought to use an embedded KV db.
Does any one already implemented such logic of working with an in-app db in a distributed environment?

Maybe Badger has some features around it?

Hey @Idan_Asulin,

You’re sort of describing Dgraph, a distributed graphDB that uses Badger for persistence. While it’s a lot more sophisticated than a simple distributed KV store, it’s happy to perform that role for you :slight_smile:

but is it in-app? can it be embedded inside my application? or only as an external service?

No, I don’t think you’d want to try to embed Dgraph into your source. Dgraph is designed as a distributed platform.