Elixir

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

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

Build a Simple Persistent Key-Value Store in Elixir, using…

In this part we'll do a step further, making both keys and values persistent, being able to recover the Index in the case of...
Alvise Susmel
7 min read

Build a Simple Persistent Key-Value Store in Elixir, using…

In this series of articles we will see the different concepts behind a key-values store (Logs, Segments, Compaction, Memtable, SSTable) implementing a simple engine...
Alvise Susmel
8 min read