Articles

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

Tour of Akka Typed: Cluster Sharding

Published on 9 November 2019

Update 21/11/2019: Fixed comment about shardId extraction in relation to ShardingEnvelope Welcome to the fifth part of the Akka Typed series! In this part, we’ll leave the safe harbor of a single JVM and sail into the seas of distributed systems by exploring a key features of Akka Cluster with the typed API: Cluster Sharding. – Read More

One step closer: exploiting locality in Akka Cluster based systems

Published on 28 October 2019

When it comes to the latency of processing a request in a distributed system, everyone knows (or should know) that doing things over the network is the most expensive thing you can do (alongside with disk reads): Modern architectures have recognized this and will favor keeping data in memory, avoiding the need to go to – Read More

Tour of Akka Typed: Event Sourcing

Published on 7 October 2019

Welcome to the fourth part of the Akka Typed series. In the first part we had a look at the the raison d’être of Akka Typed and what advantages it has over the classic, untyped API. In the second part we introduced the concepts of message adapters, the ask pattern and actor discovery. In the – Read More

Tour of Akka Typed: supervision and signals

Published on 5 September 2019

Note: I’ll be giving a training course on Akka Typed in December in Vienna Update 18.10.2019: fixed wrong syntax for handling multiple exceptions, clarifying a few points Welcome to the third part of the Akka Typed series. In the first part we had a look at the the raison d’être of Akka Typed and what – Read More

Tour of Akka Typed: Message Adapters, Ask Pattern and Actor Discovery

Published on 7 August 2019

Note: I’ll be giving a training course on Akka Typed in December in Vienna In the previous article of this series we’ve explored the basics of the Akka Typed API: why it was created and what are its benefits in comparison to the classic Actor API, how to build typed actor systems via protocols and – Read More

Tour of Akka Typed: Protocols and Behaviors

Published on 11 July 2019

Update 18.08.2019: corrected actor hierarchy and default supervision strategy Ukrainian translation Note: I’ll be giving a training course on Akka Typed in December 2019 in Vienna In this series we are going to explore Akka Typed, the new Akka Actor API that brings significant advantage over the classic one. Akka Typed is ready for production – Read More

Optimizing CI build times for Scala projects

Published on 17 June 2019

CI / CD pipelines that run for each new and merged pull-request (or even for each commit on a branch) are today’s de-facto standard when it comes to developing software. Running the complete test suite automatically ensures that regressions are rapidly identified and do not make it into production. As applications grow and their test – Read More

Why I’m still using a MacBook Pro Late 2013 in 2019

Published on 7 June 2019

I’ve started using Apple computers in 2008. Of all the Apple computers – and other computers – I’ve owned, the MacBook Pro Late 2013 is the one I’ve been able to keep the longest so far. The main reason that’s possible is because there are still a few ways to upgrade this Apple computer. There’s – Read More

Raspberry PI Akka Cluster LED strips

Published on 2 May 2019

Ever since Eric Loots from Lightbend first showed me the Raspberry-PI based Akka Cluster with special LED stripes, I’ve wanted (at least) one of them. This is a 5 node cluster with special LED stripes setup in such a way that the LED colour and status (on, off, blinking, etc.) show in which state each – Read More

2018: year in review

Published on 31 December 2018

I had intended to write a yearly review for a few years now but have not managed so far – 2018 is going to be the year that I finally get down to it. Looking back at the year is an interesting exercise and if I manage to keep this up for a few years – Read More