Ostracon

Inspired by Twitch Plays Pokemon, Ostracon was a library for real-time voting over the internet. It used Erlang’s lightweight actor model so that each connection could be represented with a single actor. After a certain time period, a reduce function would take all the values and compute some arbitrary aggregated value that can be used in application logic.

We built a couple of examples to demonstrate the library, starting with a pie chart that could resize in a live demo where each participant could join a vote every second.

A voting pie
A voting pie

We decided to also use the library to build a simple distributed game where players vote to control a professor in a quest to get grant money.

Let's have some fun(ding)
Let's have some fun(ding)
Louis Rassaby

Louis Rassaby

My name is Louis Rassaby. I’m a software engineer, entrepreneur, and cellist based in Brooklyn. My preferred language is Scala.

Away from the keyboard, I make food and music. I play a weekly jazz cello gig with my friends at Caffe Vivaldi in the West Village. I’m half of a band called Cellolele.