logo

Jonathan Harrington

Elixir, Docker and PG2

Over the next few posts I plan to look at ways of making the CEP processor created in the last post distributed. But, before that, I want to take a short diversion and jot down some notes on how to set up Elixir in a docker container and have nodes,… Read more

A CEP Processor in Elixir

CEP is the term used to describe systems that process streams of events. In this post, we will use the the data structures created in a previous post and a GenEvent server to create a simple CEP processor in Elixir. Introduction The application we are creating is going to recieve… Read more

Simple Sliding Windows in Elixir

Custom data structures in Elixir As part of some research I have been doing I wanted a sliding window data structure and thought it would be interesting to see how to implement custom data structures in Elixir. Note: What follows is a very naive implementation, I was more focused on… Read more

PostGrest Introduction

I recently came across an interesting project called PostgREST, an application that claimed to read the database schema of you'r PostgreSQL database and automatically create a "a cleaner, more standards-compliant, faster API than you are likely to write from scratch." Setup Binaries are available for OS X and Linux on… Read more

Using OTP from Elixir

In this post we will port the TCP RPC server from Erlang and OTP in Action to Elixir. Elixir is an exciting new language targeting the Erlang VM (BEAM). The TCP RPC server will use the OTP libraries, these are a set of battle tested libraries that allow Erlang programmers… Read more