The Beauty of Pattern Matching in Elixir

One of the beautiful things of Elixir is pattern matching. We'll see pattern matching with tuples, lists and maps, a bit of control flow...
Alvise Susmel
3 min read

Download Large Files with HTTPoison Async Requests

Make requests with HTTPoison is easy, but the response is held in memory. To download large files we need to divide the response into...
Alvise Susmel
4 min read

Connecting Elixir Nodes with libcluster, locally and on Kubernetes

We are going to see how to cluster Elixir and Phoenix nodes with libcluster, locally and on Kubernetes using containers.
Alvise Susmel
4 min read

Distributed Phoenix Chat with PubSub PG2 adapter

In this article we see how to cluster Phoenix Chat nodes, using distributed Elixir. We see how pg2 works and inspect how Phoenix efficiently...
Alvise Susmel
6 min read

Distributed Phoenix Chat using Redis PubSub

In this article we'll see how to scale horizontally the Phoenix Chat app, using Redis and a Phoenix PubSub adapter.
Alvise Susmel
3 min read

Create a High-Availability Kubernetes Cluster on AWS with Kops

In this article we see how to create a High-Availability Kubernetes cluster on AWS with Kops and deploy a Phoenix Chat application.
Alvise Susmel
12 min read

Processing Large CSV files with Elixir Streams

Elixir Streams are extremely powerful when we need to process large CSV files. Let's see the difference between a greedy and lazy approach.
Alvise Susmel
4 min read

Aggregate and Count Real-Time Trades with Elixir Maps

In this article we start to see how to aggregate Coinbase trades in real-time, using the GenServer behaviour. We'll build an aggregation process that...
Alvise Susmel
6 min read

Realtime Market-Data Updates with WebSocket and Elixir

In this article we see how to build an Elixir application to get realtime updates from the coinbase websocket feed, handling crashes and disconnections.
Alvise Susmel
7 min read

Running Elixir in Docker Containers

How to use Docker to run our development Elixir environment and to run multiple Elixir Nodes over a Docker bridge network.
Alvise Susmel
6 min read