or subscribe with
Join 3,000+ readers for one email each week.
Digests » 247
this week's favorite
Most programming languages use thread pools to improve performance; in Elixir, we use them to constrain our applications. In this article, we explore both why and how to do that with the excellent Poolboy library.
Today we are going to talk about time zones, specifically what they are, how Elixir handles them and then talk about some strategies you can apply when working with time zones in the context of an Elixir Phoenix app backed by an Ecto database.
This article will describe a simplified version of the solution. In order to keep things simple we will save changes into the original schema. This comes with some drawbacks; changes will be immediately seen to everyone and we will run into issues in case of failed validations.
Are you coming to Elixir from another language with an interactive shell? There are a few specific things about Elixir’s interactive shell (IEx) to keep an eye on and make ourselves more efficient. Here they are.