Articles

This is a collection of articles I wrote over the years, presently with a strong focus on building reactive systems with Akka.

Akka anti-patterns: race conditions

Published on 16 August 2016

The actor model makes it possible to build highly-concurrent applications through the notion that actors obey the actor send rule and the actor subsequent processing rule, hence creating a single-threaded environment inside of an actor. That being said, it’s all an illusion: as we have briefly talked about previously, Akka’s dispatchers make sure that messages – Read More

Akka anti-patterns: shared mutable state

Published on 2 August 2016

When I work with clients on designing actor systems there are a few anti-patterns that seem to make it into initial, non-reviewed designs no matter what. In this series of short articles I would like to cover a few of those. Anti-pattern #1: sharing mutable state accross actors Even though the Akka documentation points this – Read More

The reality of writing a technical book

Published on 15 July 2016

Two days ago I received my copies of Reactive Web Applications. Needless to say, I had been waiting for this moment for some time. Even though the final PDF version had been out for a few weeks prior to this, nothing compares to holding in your hands an actual, physical, printed book and seeing the – Read More

The microservices marathon

Published on 14 June 2016

Everyone is talking about microservices. And many people are betting on it. At this year’s Voxxed Days Vienna over 60% of the submissions contained the word microservices. At JAX 2016 in Mainz, the word microservices was spoken out aloud on average 40 times per minute accross the entire venue. It’s hard to go one day – Read More

Akka Cluster, Java and the Raspberry PI 3 Model B

Published on 19 April 2016

I recently built an architecture prototype for DIMOCO aiming at answering roughly the following questions: what does it entail to run an Akka cluster, how fast can new nodes join, how manageable is such a cluster? are traditional publish-subscribe message distribution semantics supported (one-to-one, one-to-N, one-to-any-of-N)? how can message loss be averted / minimized? how – Read More

The one Play Framework productivity tip you should know about

Published on 7 March 2016

If there is one thing you need to know when it comes to enhancing your productivity when working with the Play Framework it’s the following tip because it will save you a lot of time during development. I’ve watched many developers repeat the same steps countless times in a day and every time I show – Read More

Upgrading from React 0.11.2 to 0.14.7 in 374 easy steps

Published on 25 February 2016

Today I set out to the task of upgrading a set of views crafted with the React library. The upgrade was necessary because one part of a view using React stopped working in Chrome Version 48.0.2564.116 (64-bit). I don’t know why this happened, I didn’t find anything related to it and as it stands this – Read More

A quick tour of JSON libraries in Scala

Published on 6 November 2015

Update (18.11.2015): added spray-json-shapeless library Update (06.11.15): added circe library Some time ago I wrote a post on relational database access in Scala since I was looking for a library and there were many of them available, making it hard to make a choice. It turns out that the situation is similar if not worse – Read More