I have this Phoenix app online, it is private, a simple board game for my girlfriend and her friends.
I believe that the BEAM “keeps the CPU hot” or something like that, but we do not care about performance (generally we have a single game and maximum 4 players) and most of the time the app is idle. But we want to be able to play at any time, so the apps is always up.
The app is built with
mix release and then started in a docker container (with docker-compose).
I would like to know all the ways I can lower the energy consumption of this app. I know there are erl flags (although I do not know how to set them in an Elixir release context), but maybe there is more.