This weekend, Steve, Hunter, Paul and I took part in Spawnfest, a 48-hour Erlang programming event. Our team name was SMELLS LIKE BEAM SPIRIT. Here we are on Sunday evening: What a bunch of tools… The Erlang VM lets you inspect all aspects of a running node, examine running processes, explore process hierarchies, and profile [...] [...more]
During my experiments with rebar, I made a simple example app for testing upgrades and releases. This article will walk you through using rebar to create an application, lay it out properly, package and deploy it, and create and install new versions without downtime. The code accompanying this article is in various branches of github.com/RJ/erlang_rebar_example_project. [...] [...more]
I’ve been building something in Erlang recently, provisionally called IRCCloud.com (mention this post if you request an invite!) – it’s an in-browser IRC client that stays connected for you all the time, so you never miss the conversation. You can reopen your browser later and still have all the backlog. IRC is damn useful, and James and [...] [...more]
Consider this a work-in-progress; I will update this post if I find a ‘better’ way to do fast bulk loading The time has come to replace my ets-based storage backend with something non-volatile. I considered a dets/ets hybrid, but I really need this to be replicated to at least a second node for HA / [...] [...more]
In this series I will detail what I found out empirically about how mochiweb performs with lots of open connections, and show how to build a comet application using mochiweb, where each mochiweb connection is registered with a router which dispatches messages to various users. We end up with a working application that can cope [...] [...more]