# ARM-based (Linux) deployment

**URL:** <https://discuss.dgraph.io/t/arm-based-linux-deployment/13644>\
**Category:** Dgraph\
**Created:** [April 12, 2021, 7:45am UTC](https://discuss.dgraph.io/t/arm-based-linux-deployment/13644 "2021-04-12T07:45:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![maksymsur](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/maksymsur/32/6626_2.png) [@maksymsur](https://discuss.dgraph.io/u/maksymsur)\
**Post date:** [April 12, 2021, 7:45am UTC](https://discuss.dgraph.io/t/arm-based-linux-deployment/13644/1 "2021-04-12T07:45:06Z")

</div>

Hi Everyone!

With ARMv9 on the horizon, we’d like to experiment more with its adoption in the production environment as a DB host.

I’d like to ask your opinion about setting up Dgraph on low-powered ARMs (smth like Raspberry PI4 1.5GHz 8Gb RAM) on regionally distributed premises.

Initially I’m thinking about a cluster of 3-4 PI4s (each 8Gb RAM + SSD) for every premise. Therefore, sharding will be done on a regional-premises basis.

I already launched a Dgraph on such a cluster and it works just fine.

The on-premise information load isn’t expected to be very high.

Although in theory and in prototype it works, but it’d be great to know your opinion about issues we may incur during production implementation (as hardware used is below recommended configuration… but our information loads are also not big) + may be smbd has a similar experience on #ARM.

Thanks beforehand!

---

<div class="post-metadata">

**Author:** ![MichelDiz](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/micheldiz/32/11873_2.png) [@MichelDiz](https://discuss.dgraph.io/u/MichelDiz)\
**Post date:** [April 12, 2021, 1:41pm UTC](https://discuss.dgraph.io/t/arm-based-linux-deployment/13644/2 "2021-04-12T13:41:07Z")

</div>

I believe that we will not have an ARM binary in the short term. Dgraph is a DB meant to run on the cloud. You can venture out by creating your binary locally. Just have a golang environment and change the configuration to build it for your OS in the make config.

---

<div class="post-metadata">

**Author:** ![maksymsur](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/maksymsur/32/6626_2.png) [@maksymsur](https://discuss.dgraph.io/u/maksymsur)\
**Post date:** [April 12, 2021, 2:01pm UTC](https://discuss.dgraph.io/t/arm-based-linux-deployment/13644/3 "2021-04-12T14:01:28Z")

</div>

I did just that. And everything is OK. The essence of my question was more about specifics of Dgraph working in constrained hardware resources (PI4 8GB).

---

<div class="post-metadata">

**Author:** ![amaster507](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/amaster507/32/4123_2.png) [@amaster507](https://discuss.dgraph.io/u/amaster507)\
**Post date:** [April 12, 2021, 2:37pm UTC](https://discuss.dgraph.io/t/arm-based-linux-deployment/13644/4 "2021-04-12T14:37:34Z")

</div>

I don’t think there is a way to constrain it to limited resources without eventually hitting some OOM issues. A few of us community guys have put some thoughts into making a DgraphLite or something similar.

> [@Call for Collaboration: Designing a Dgraph offline-first library](http://discuss.hypermode.com/t/call-for-collaboration-designing-a-dgraph-offline-first-library/9293/13):
>
> Hi @amaster507, thank you once again for taking the lead here and pushing forward to get stuff done! I’ll just add some requirements, challenges and ideas which you could add to your post if you like. First, I’d like to clarify what use-cases we are talking about: browser-only pure javascript library database-lite service (e.g. implemented in golang) I don’t think that the former case is really that important. If you really want offline support, you can always pack your app into electron a…

This might be interesting to you as well. Ideally, we would like Dgraph to support smaller systems and other environments again, but I believe Dgraph engineers are correct to focus right now on what they are doing best - Dgraph in the Cloud (larger linux machines.)

---

<div class="post-metadata">

**Author:** ![maksymsur](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/maksymsur/32/6626_2.png) [@maksymsur](https://discuss.dgraph.io/u/maksymsur)\
**Post date:** [April 12, 2021, 8:08pm UTC](https://discuss.dgraph.io/t/arm-based-linux-deployment/13644/5 "2021-04-12T20:08:09Z")

</div>

Thanks. Will look into
