Cogini Blog

Articles by elixir

Jake Morrison

A new approach to deploying Elixir apps: mix_deploy

A new approach to deploying Elixir apps: mix_deploy Read more…

Jake Morrison

Best practices for deploying Elixir apps

Best practices for deploying Elixir and Phoenix apps, with a working example Read more…

Jake Morrison

Deploying Elixir apps with Ansible

Deploying Elixir apps with Ansible, an easy-to-use standard tool for managing servers. Read more…

Jake Morrison

Deploying an Elixir app to Digital Ocean with mix_deploy

A gentle introduction to getting your Elixir / Phoenix app up and running on a server at Digital Ocean. Read more…

Jake Morrison

Running Ecto migrations in production releases with Distillery custom commands

In a dev or test environment, we execute the mix ecto.migrate command to run database migrations. When running from a release, the mix command is not available, so we execute Ecto.Migrator.run/4 from code via a Distillery custom command command. Read more…

Jake Morrison

Tuning TCP ports for your Elixir app

Elixir is great at handling lots of concurrent connections. When you actually try to do this, however, you will bump up against the default OS configuration which limits the number of open filehandles/sockets. You may also run out of TCP ephemeral ports. Read more…

Jake Morrison

Using ASDF with Elixir and Phoenix

The ASDF version manager lets us manage multiple versions of Erlang, Elixir and Node.js. It is a language-independent equivalent to tools like Ruby's RVM or rbenv. Read more…

Jake Morrison

Running a local caching DNS for your app

When your app is acting as a proxy to back end servers, DNS can become a bottleneck. Running a local caching DNS server on the app server machine speeds up performance. Read more…

Jake Morrison

Elixir and embedded programming presentation

Here are the slides for the presentation on Elixir and embedded programming I gave to the Elixir LA user's group. It introduces embedded programming and how Elixir is a good match for a new generation of embedded systems. Read more…

Jake Morrison

Running Nerves on Amazon EC2

I have been looking into the best way to deploy Elixir in the cloud. As part of that, I have been building various AMIs with only the minimum needed to run an Elixir app. Nerves is a framework for building embedded systems in Elixir. Instead of running a general purpose … Read more…

Categories

Development DevOps Products

Tags