Digests ยป 214


Get 40% off your entire Manning.com order!

Manning Publications is always looking to help developers grow. It doesn't matter what your background is, there's something for you to discover. This week, you can get 40% off your entire Manning.com order, including our range of Elixir books! Whether you're looking to pick up Phoenix or just improve your skills with the syntax, there's a way for you to boost your Elixir prowess.

this week's favorite

Better domain modeling in Elixir with sum types

Too often, I use structs and maps exclusively to model domains in Elixir. You might do so too. I think the habit comes from modeling domains in object-oriented languages and from having a one-to-one mapping between structs and database records. But lately, I have found sum types to be a powerful domain modeling technique that can help rid projects of bugs caused by invalid states.

Announcing MiniRepo, a minimal Hex server

Today we are happy to announce MiniRepo, a minimal Hex server that can be used for packages self-hosting.

Deploy a Distributed Elixir Cluster

This is a guide to deploying a distributed Elixir cluster on Render using libcluster, Phoenix and Mix releases. The cluster is set up to discover nodes automatically and keep the node list current as they join or leave the cluster.

Elixir + Kubernetes = ๐Ÿ’œ

This series is designed to show you how to create an auto-scaling Elixir cluster using Elixir 1.9 and Kubernetes. What does that mean? Well it means that the application will start, automatically connect in a erlang cluster configuration, and then automatically add and remove erlang nodes as the Kubernetes (k8s) configuration changes.

How Elixir Helped Me Boost App Performance

Iโ€™m a big fan of Elixir and Phoenix framework since 2016 and I still love it for its clean code and simplicity. In the beginning, I treated it as a natural next step on the learning curve but then I decided to make it my main area of development. Let me share my passion and a story based on the most recent case study. Once you get to the happy ending โ€“ you will have no doubt on why choose Elixir for your next project.