[erlang-questions] Light-weight operating systems supporting Erlang in production web servers
Fri Sep 15 23:04:30 CEST 2017
Good ideas to pursue.
All the best,
From: "Tristan Sloughter" <>
Sent: Friday, September 15, 2017 4:48pm
Subject: Re: [erlang-questions] Light-weight operating systems supporting Erlang in production web servers
erlang-questions mailing list
Same, and I have an example multi-stage docker file for building the
image on Alpine for an example project:
It also uses all the options relx supports to shrink the size of the
One feature relx doesn't yet support that may help a little with size of
the unpacked release would be compressed applications (.ez). Pretty sure
that is what reltool would do by default? Not sure how much it saves.
Also, it is possible to use docker scratch* to have no real base image,
but with Alpine being so small I don't think it saves enough to be worth
it -- esp considering everything you then don't have, as Phil mentioned.
* And some hacks, copying over libs and a linker. Or a statically
linked Erlang? Never done it with a statically linked Erlang, would
that work with SSL?
"I am not a crackpot" - Abe Simpson
On Fri, Sep 15, 2017, at 10:14 AM, Phil Toland wrote:
> I second the vote for Alpine Linux. My application is a mix of Erlang
> and Elixir and runs in Docker containers. I use Alpine as the base
> and I get reasonably sized containers that don't have anything I
> don't need.>
> As a side note, it isn't just about providing the necessary support to
> run the BEAM VM. I also want enough of a familiar environment (ls, ps,
> top, nslookup/dig, netstat) to troubleshoot issues. Alpine provides
> that without the other stuff that you don't need.>
> On September 15, 2017 at 9:47:00 AM,
> () wrote:>>
>> FreeBSD and alpine Linux have both served me well.
>> On Sep 15, 2017, at 7:20 AM, Lloyd R. Prentice
>> <> wrote:>>> Hi,
>>> Joe Armstrong states in his 2003 Doctor of Technology thesis:
>>> "Our system has very little need of an operating system. We make use
>>> of very few operating system services, thus it is relatively easy to
>>> port our system to specialised environments such as embedded
>>> systems.">>> As a one-time Forth developer, software bloat offends me. I sigh and
>>> use Ubuntu on my development system out laziness and convenience.>>> But I would like my production servers to be lean and mean.
>>> What light weight open-source off-the shelf operating systems would
>>> battle-hardened Erlang gurus recommend?>>> All the best,
>>> Sent from my iPad
>>> erlang-questions mailing list
>>> http://erlang.org/mailman/listinfo/erlang-questions>> _______________________________________________
>> erlang-questions mailing list
> erlang-questions mailing list
More information about the erlang-questions