Cogini Blog Articles tagged elixir

Jake Morrison

Building and Testing Elixir Containers with GitHub Actions

Here are the slides for the presentation Building and Testing Elixir Containers with GitHub Actions I gave to the Elixir LA user's group. It covers testing and other practical concerns when implementing microservices in Elixir. Here is the example code: phoenix_container_example: CI/CD system based on containerized build … Read more…

Jake Morrison

Jobs vs Events

Kafka is popular as a backbone messaging service to connect services. You may be used to using background job processing services like Resque in Ruby or Oban in Elixir, and wonder whether you can replace them with Kafka. In practice, both have their benefits. This post discusses issues that come … Read more…

Jake Morrison

Kubernetes Health Checks for Elixir Apps

Health checks are an important part of making your application reliable and manageable in production. They can also help make development with containers faster. Kubernetes health checks Kubernetes has well-defined semantics for how health checks should behave, distinguishing between "startup", "liveness", and "readiness". Liveness is the core health check. It … Read more…

Jake Morrison

Presentation on thinking functionally in Elixir 2020

Here are the slides for the presentation on thinking functionally in Elixir I gave to the local Elixir user's group. 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

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

Running Ecto migrations in a release

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 the release's eval command. 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

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…

Categories

Development DevOps Products Programming

Tags