author Jake Morrison

For simple deployments, we can install Erlang and Elixir from binary packages. Instead of using the packages that come with the OS, which are generally out of date, you should use the packages from Erlang Solutions.

One disadvantage of the OS packages is that we can only have one version …

author Jake Morrison

When your app is acting as a proxy to back end servers, it it may need to do a DNS lookup to convert the host name of the server into an IP hundreds of times a second. DNS can become the bottleneck for requests. It also puts heavy load on …

author Jake Morrison

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.

author Jake Morrison

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 …

author Jake Morrison

Spinning up a server is easy enough, just go to Digital Ocean and push a button. But now you are responsible for your server. What does that mean?

author Jake Morrison

The goal of benchmarking is to understand the performance of our system and how to improve it. When we are making benchmarks, we need to make sure that they match real world usage.

In my post on Benchmarking Phoenix on Digital Ocean, changing the concurrent connections and network latency had …

author Jake Morrison

The security principle of "least privilege" means that apps should only have the permissions that they need to do their job, nothing more. If an attacker compromises your app, then they can't do anything outside of what the app would normally do. They may be able to break the application …

author Jake Morrison

If you want to try out the new features in Erlang 21 before it's released, you will have to build it yourself, as there is no package available. Same thing if you want to run a patch release or configure Erlang with special options.

The ASDF version manager lets you …

author Jake Morrison

This is a gentle introduction to getting your Phoenix app up and running on a $5/month server at Digital Ocean. It starts from zero, assuming minimal experience with servers.

author Jake Morrison

I have been using Linux since 1993, so I will give a bit of a history lesson to explain the motivation behind the popular distributions. There are two main families, RedHat and Debian. RedHat traditionally comes from the corporate world, and Debian from the free software community.