# BadgerDB as etcd backend

**URL:** <https://discuss.dgraph.io/t/badgerdb-as-etcd-backend/12733>\
**Category:** Badger\
**Created:** [February 10, 2021, 11:11pm UTC](https://discuss.dgraph.io/t/badgerdb-as-etcd-backend/12733 "2021-02-10T23:11:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wilsonwang371](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/wilsonwang371/32/6223_2.png) [@wilsonwang371](https://discuss.dgraph.io/u/wilsonwang371)\
**Post date:** [February 10, 2021, 11:11pm UTC](https://discuss.dgraph.io/t/badgerdb-as-etcd-backend/12733/1 "2021-02-10T23:11:00Z")

</div>

I replaced boltdb inside etcd with badgerdb. However, from what I discovered, badgerdb did not give a better performance on write operations. Did anyone do someting similar before? Is this an expected behavior? Because from what I understand, badgerdb was supposed to do better in write operations than boltdb.

---

<div class="post-metadata">

**Author:** ![chewxy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/chewxy/32/4339_2.png) [@chewxy](https://discuss.dgraph.io/u/chewxy)\
**Post date:** [February 10, 2021, 11:55pm UTC](https://discuss.dgraph.io/t/badgerdb-as-etcd-backend/12733/3 "2021-02-10T23:55:52Z")

</div>

Could you perhaps share some benchmark details? Perhaps a sample program/repo that I can check out?
