Cogini Blog
Articles by phoenix
Featured articles
Deploying an Elixir app to Digital Ocean with mix_deploy
A new approach to deploying Elixir apps: mix_deploy
A new approach to deploying Elixir apps: mix_deploy Read more…

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

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

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…

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…

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…

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…

The impact of network latency, errors, and concurrency on benchmarks
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 … Read more…

Deploying your Phoenix app to Digital Ocean for beginners
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. Read more…

Benchmarking Phoenix on Digital Ocean
Just for fun, I decided to benchmark the performance of the elixir deploy template running on a $5/month Digital Ocean Droplet. Read more…