silverdr

silverdr

Options for Building Erlang/OTP for a Phoenix application

When building Erlang/OTP (using asdf/kerl) for production server serving a (presumably typical setup of a) Phoenix application, what KERL_CONFIGURE_OPTIONS would you suggest to use from the list of available ones?

Application is a typical web application with PostgreSQL as data source.

I’d take --without-wx --without-javac are rather safe in such case? Anything else can be skipped?

Most Liked

LostKobrakai

LostKobrakai

The release does trim down the „runtime“ already. Only erts and otp applications your project depends on will be added. No need to optimize your kerl options.

Last Post!

silverdr

silverdr

Do you mean there are no differences between Erlang/OTP compiled with everything enabled but then “trimmed” down by releases and one compiled with minimal set of options required for the phx application in question? While that in itself would be great,

  • I saw final image sizes differ when using different build options. Need to double-check if I am not imagining things now but am like 90%+ sure
  • The build/install time reduction may also be worth a bit of trouble. True that doesn’t have to be done every time, but still

Where Next?

Popular in Questions Top

nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
New
RisingFromAshes
I’ve read in another post that it may be possible with a router helper - but I couldn’t find an appropriate one, and tbh, I’m still just ...
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
Emily
I have VueJS GUIs with the project generated using Webpack. I have Elixir modules that will need to be used by the VueJS GUIs. I forese...
New
skosch
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New

Other popular topics Top

grych
Hi folks, Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
639 54006 488
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
gausby
I asked this very same question on twitter and got some interesting feedback, but I thought it would be a good question to ask here as we...
1207 40042 209
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New

We're in Beta

About us Mission Statement