In my Dgraph-based application I have need for a persistent, concurrent key-value store. Rather than increase complexity of deployment by e.g. requiring Redis, it would be great if I could make use of the existing badger installation that comes within Dgraph. Also it means that my entire application could be scaled by scaling the dgraph nodes. Is this possible/advisable?
Badger is an embeddable key value store and it’s embedded inside dgraph so you cannot use it.
Redis on the other hand runs a server which multiple applicates can use.
You’ll have to write your own application code if you wish you use badger.