Digests » 104
Receive deep insights about Elixir, Phoenix and other developments.
This version includes changes that make Elixir fully compatible with Erlang/OTP 20.
This post describes the procedure to create lightweight Docker images, using multi-stage builds, to deploy Elixir applications packaged using Distillery. It is assumed that you’re familiar with Docker and Elixir.
In this episode we are going to create a multi tenant phoenix 1.3 application using the apartmentex library. We are going to use subdomains to differentiate our tenants.
I had to do some string stripping in one of my apps which was a bit performance sensitive. I ended up benching multiple approaches to see the speed differences. The results are not that surprising.
A critical aspect of a programming language lies in its interoperability with other programming languages – being able to play nice with others. Whether it is to reuse legacy code or gain better performance with numerical computations, interoperating Elixir with C is a common practice [✥]. The two most popular ways for doing that is either by working with NIF‘s or with ports, using Porcelain.