Worth upgrading to latest Elixir Version?

My Ubuntu 19.10 server only has Elixir 1.9.1 (compiled with Erlang/OTP 22). Is it worth upgrading to ELixir 1.9.4 for production?

Patch versions fixes bugs without adding new features, sometimes it can introduce new warnings. So in general - yes, it should be worth upgrading.

1 Like

Do you really need it on the server at all, or because you build there and run tests, or are you just deploying and running releases there that have Erlang and Elixir integrated?

1 Like

I need for development, staging, and deployment on my server.

I never understood why one would do that… If you Bork your dev, it will put your prod offline…

These 3 environments should be distinct.

Especially prod should never be mixed up with anything else.

1 Like

Yes dev, stage, prod in 1 server different domains and folders. I don’t think my dev and staging will mess up my prod that way.

My dev blows up my system regularly because of infinite loops or memory issues.

Thinking you won’t have those problems makes you even more a target for them as I am.

It’s not a good idea to have prod and Dev on the same machine.

It not a big problem though to have them on the same orchestrator cluster in different projects.

I hear you @NobbZ, it’s noted, thanks. Please answer my original question I’ll appreciate it.

For dev, I think having the most recent point release of the latest minor which provides all necessary features is usually sufficient.

For prod it’s usually not necessary to have Elixir installed at all, nor Erlang. But if you deploy in a way that requires you to have, then Erlang as the runtime should be kept current for security patches etc, while Elixir usually hasn’t that much security holes. Still I’d have it on the latest point release of the required minor at least, similar to dev.

1 Like

I’ve been using Elixir 1.9.4 ever since it came out and had zero problems on any of my toy VPS-es and my mini Linux laptop that I use as a toy deployment environment as well (Manjaro Linux).

Elixir looks quite stable to me and the fact that any active development seem to have stopped is only making me more confident in it.

1 Like

i’m presuming you’re compiling and installing from source on the same box? if the purpose is educational, by all means do so, this presents a good opportunity for a useful learning experience. if your purpose is money you might have an easier time running docker images especially if you’re building and installing on the same box you’re running the elixir applications on.

if you’re installing pre-compiled packages directly on the machine, i’d recommend the erlang solutions packages (instructions at bottom/worst page design ever/packages are solid though) , the package manager can update to latest patch version by executing apt-get upgrade <esl elixir or whatever the package is called>

1 Like