Blog archive

Rails and PostgreSQL prepared statements leak


Postgres database memory usage went crazy due to a prepared statement "leak" in the code of a ruby on rails application. By adding a debug endpoint that lists every prepared statement of the current connection, I was able to figure out the source of the issue and fix it.

First impressions of Haskell


A couple of weeks ago, HackerRank sponsored a functional programming contest. 48 hours to solve seven problems in a functional language. This was the perfect opportunity to try out Haskell.

Web services in go


I've been writing quite a few different web services in my current job. I'm going to talk a bit about my experience writing go web services.