# What hardware do you use in production?

**URL:** <https://erlangforums.com/t/what-hardware-do-you-use-in-production/315>\
**Category:** Chat / Discussions\
**Tags:** hardware, production, deployment\
**Created:** [October 27, 2021, 11:34pm UTC](https://erlangforums.com/t/what-hardware-do-you-use-in-production/315 "2021-10-27T23:34:22Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![AstonJ](https://erlangforums.com/user_avatar/erlangforums.com/astonj/32/9_2.png) [@AstonJ](https://erlangforums.com/u/AstonJ)\
**Post date:** [October 27, 2021, 11:34pm UTC](https://erlangforums.com/t/what-hardware-do-you-use-in-production/315/1 "2021-10-27T23:34:22Z")

</div>

Really curious about the production hardware people are using with Erlang - wonder if there’s a pattern between a balance of CPU cores / RAM, or even a preference for a certain CPU?

_Wonder if @max-au or others working on ginormous apps/services could share some details? 🙈 (no problem if you can’t!)_

---

<div class="post-metadata">

**Author:** ![max-au](https://erlangforums.com/user_avatar/erlangforums.com/max-au/32/1627_2.png) [@max-au](https://erlangforums.com/u/max-au)\
**Post date:** [October 28, 2021, 10:06pm UTC](https://erlangforums.com/t/what-hardware-do-you-use-in-production/315/2 "2021-10-28T22:06:46Z")

</div>

It depends on the overall installation size. If your cluster is already large, it may be better to use beefier machines rather than expand it further. BEAM scales well on a single node. In the past we were running registration flow with 4 machines, 2 for redundancy purposes, and a single node serving registrations for \> 500M users. Servers were serious, 768G RAM, dual-socket motherboards, 56 cores.

Realistically hardware selection is often limited to what the underlying infrastructure can provide. Your cloud provider may have very narrow list. It often makes sense to find best BEAM settings for specific hoster to achieve necessary performance

---

<div class="post-metadata">

**Author:** ![OvermindDL1](https://erlangforums.com/user_avatar/erlangforums.com/overminddl1/32/398_2.png) [@OvermindDL1](https://erlangforums.com/u/OvermindDL1)\
**Post date:** [October 29, 2021, 7:17pm UTC](https://erlangforums.com/t/what-hardware-do-you-use-in-production/315/3 "2021-10-29T19:17:32Z")

</div>

Smallest things I use are 2-core 4gig ram VM’s, largest thing I run is a 32-core 64gig ram dedicated server monstrosity (build server), and many things in between, lol. Just depends on the purpose. Most things I build are so extremely fast enough that the low end is more than sufficient even under pretty large load.

---

<div class="post-metadata">

**Author:** ![AstonJ](https://erlangforums.com/user_avatar/erlangforums.com/astonj/32/9_2.png) [@AstonJ](https://erlangforums.com/u/AstonJ)\
**Post date:** [October 29, 2021, 11:37pm UTC](https://erlangforums.com/t/what-hardware-do-you-use-in-production/315/4 "2021-10-29T23:37:51Z")

</div>

> [@max-au](#):
>
> In the past we were running registration flow with 4 machines, 2 for redundancy purposes, and a single node serving registrations for \> 500M users. Servers were serious, 768G RAM, dual-socket motherboards, 56 cores.

Two machines serving 500M users, that’s amazing 🤩

> [@max-au](#):
>
> Servers were serious, 768G RAM, dual-socket motherboards, 56 cores.

I am hoping to get a 128GB 32 core box at some point - when I have an app that needs it :lol: (current machines are 64gb hexacores, but not running any Erlang apps yet hence holding off on getting beefier servers).

What kind of hard drives do you use Maxim? I guess SSDs?

> [@OvermindDL1](#):
>
> Smallest things I use are 2-core 4gig ram VM’s

I’ve never really seen the appeal of VMs or cloud hosting, think I got put off when friends used to use cloud hosting and availability and responsiveness of their apps seemed to be a bit hit or miss. Plus dedicated servers are a lot cheaper now (which I know you’re also a fan of :003:)

> [@OvermindDL1](#):
>
> Just depends on the purpose. Most things I build are so extremely fast enough that the low end is more than sufficient even under pretty large load.

Yeah, very few apps need the power of something like Whapsapp 🕶

---

<div class="post-metadata">

**Author:** ![mark](https://erlangforums.com/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@mark](https://erlangforums.com/u/mark)\
**Post date:** [November 2, 2021, 7:16am UTC](https://erlangforums.com/t/what-hardware-do-you-use-in-production/315/5 "2021-11-02T07:16:03Z")

</div>

Are you running on bare metal somewhere then? It’s hard to convince people that perhaps VMs and containers aren’t absolutely necessary for all things and I’m really interested in hearing about alternatives that aren’t legacy projects. Maybe I’m just off in a bubble though.

---

<div class="post-metadata">

**Author:** ![AstonJ](https://erlangforums.com/user_avatar/erlangforums.com/astonj/32/9_2.png) [@AstonJ](https://erlangforums.com/u/AstonJ)\
**Post date:** [November 2, 2021, 9:44pm UTC](https://erlangforums.com/t/what-hardware-do-you-use-in-production/315/6 "2021-11-02T21:44:11Z")

</div>

Yep, I have a number of dedicated servers - and the great thing about them is you can run several apps/sites and in multiple languages, all on the same server. This server for instance will eventually run a PHP app (Wordpress blog) Ruby sites (including some via mod\_ruby and some, like these forums, via Docker) and an Erlang/Elixir app. Use something like HAProxy makes that easier.

When I started hosting sites the choices were ‘hosting packages’ (ftp based/non-ssh packages on servers running hosting software like CPanel ) VPS (shared parts of servers - usually a server split into 4) and dedicated servers. There weren’t any cloud services, or at least they weren’t popular.

Back then dedicated servers were the most expensive option, and if your site grew relatively large it was your only real option. The other downside was (and I guess still is) is that you needed to learn sys-admin, although many dedicated server companies also offered managed servers (which is how I got started).

I believe @OvermindDL1’s story was similar to mine - we didn’t have much choice but to use dedicated servers and now can’t really see using anything else - although they started out being the most expensive option, now they are significantly cheaper than cloud hosting for any relatively big/busy site.

There are some good recommendations for dedicated servers here: [Elixir Deployment Options - Chat / Discussions - Elixir Programming Language Forum](https://elixirforum.com/t/deploying-elixir-opinions-on-heroku-digitalocean-bluemix-etc/289) but I think we probably beed an ‘Erlang Deployment Options’ thread here as well :003:

---

<div class="post-metadata">

**Author:** ![OvermindDL1](https://erlangforums.com/user_avatar/erlangforums.com/overminddl1/32/398_2.png) [@OvermindDL1](https://erlangforums.com/u/OvermindDL1)\
**Post date:** [November 4, 2021, 7:06pm UTC](https://erlangforums.com/t/what-hardware-do-you-use-in-production/315/7 "2021-11-04T19:06:07Z")

</div>

> [@AstonJ](#):
>
> I’ve never really seen the appeal of VMs or cloud hosting, think I got put off when friends used to use cloud hosting and availability and responsiveness of their apps seemed to be a bit hit or miss. Plus dedicated servers are a lot cheaper now (which I know you’re also a fan of :003:)

They are both cheap and still let me run whatever I want, never seen issues with performance on them at the provider I use at least, whatever I pay for of power always seems to be exactly what I get, doesn’t seem to throttle down at any point even with 11 hour long compiles, lol.

But yeah, dedicated big servers for my big work for sure.

> [@AstonJ](#):
>
> When I started hosting sites the choices were ‘hosting packages’ (ftp based/non-ssh packages on servers running hosting software like CPanel ) VPS (shared parts of servers - usually a server split into 4) and dedicated servers. There weren’t any cloud services, or at least they weren’t popular.

Ugh no, shared hosting packages are utter garbage, they are never worth it unless you’re hosting static content for low count of consumers.

---

<div class="post-metadata">

**Author:** ![AstonJ](https://erlangforums.com/user_avatar/erlangforums.com/astonj/32/9_2.png) [@AstonJ](https://erlangforums.com/u/AstonJ)\
**Post date:** [November 4, 2021, 11:49pm UTC](https://erlangforums.com/t/what-hardware-do-you-use-in-production/315/8 "2021-11-04T23:49:15Z")

</div>

> [@OvermindDL1](#):
>
> Ugh no, shared hosting packages are utter garbage, they are never worth it unless you’re hosting static content for low count of consumers.

Unfortunately 20 or so years ago it was the only real cost-effective way of hosting a site - I still remember how frustrating it was, so glad those days are behind us :lol:

---

<div class="post-metadata">

**Author:** ![OvermindDL1](https://erlangforums.com/user_avatar/erlangforums.com/overminddl1/32/398_2.png) [@OvermindDL1](https://erlangforums.com/u/OvermindDL1)\
**Post date:** [November 5, 2021, 2:23pm UTC](https://erlangforums.com/t/what-hardware-do-you-use-in-production/315/9 "2021-11-05T14:23:11Z")

</div>

Yeah, I reverse proxied to my home from such a thing like 24 years ago to serve my dynamic content, lol

---

<div class="post-metadata">

**Author:** ![AstonJ](https://erlangforums.com/user_avatar/erlangforums.com/astonj/32/9_2.png) [@AstonJ](https://erlangforums.com/u/AstonJ)\
**Post date:** [November 5, 2021, 8:27pm UTC](https://erlangforums.com/t/what-hardware-do-you-use-in-production/315/10 "2021-11-05T20:27:16Z")

</div>

Haha class! The funny thing is I even looked into setting up my own little server farm but the cost of a leased line was prohibitive, plus you would need to consider redundancy measures like back-up generators, a secondary leased line as a back up etc.

I would definitely like to co-locate one day, it seems wasteful merely ‘renting’ a server…
