# Anyone using dgraph as a distributed key-value store?

**URL:** <https://discuss.dgraph.io/t/anyone-using-dgraph-as-a-distributed-key-value-store/15914>\
**Category:** Dgraph\
**Created:** [October 29, 2021, 9:39pm UTC](https://discuss.dgraph.io/t/anyone-using-dgraph-as-a-distributed-key-value-store/15914 "2021-10-29T21:39:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Charles\_Thayer](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/charles_thayer/32/8323_2.png) [@Charles\_Thayer](https://discuss.dgraph.io/u/Charles_Thayer)\
**Post date:** [October 29, 2021, 9:39pm UTC](https://discuss.dgraph.io/t/anyone-using-dgraph-as-a-distributed-key-value-store/15914/1 "2021-10-29T21:39:05Z")

</div>

I would like to use dgraph as a distributed key-value store to replace things like etcd or cassandra or consul kv. I appears to have comparable or better high availability and horizontal scalability. Is anyone doing this in a production environment?

---

<div class="post-metadata">

**Author:** ![iluminae](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/iluminae/32/7367_2.png) [@iluminae](https://discuss.dgraph.io/u/iluminae)\
**Post date:** [October 29, 2021, 9:41pm UTC](https://discuss.dgraph.io/t/anyone-using-dgraph-as-a-distributed-key-value-store/15914/2 "2021-10-29T21:41:13Z")

</div>

funny you ask, I have been thinking how great a dgraph backed k8s would be (replacing etcd). Mostly because of dgraph’s operational features (distributed RAFT, backup/restore, etc.) and my expertise running dgraph vs etcd.

Currently I run k3s-\>kine-\>haproxy-\>cockroachdbx3 and I am not proud of it but I get great operational features.
