A new adaptive accrual failure detector for Akka

Akka uses the The Φ Accrual Failure Detector for failure detection, which is to say for answering the question of whether a node is alive or not. That’s one of the harder problems of distributed systems since it is virtually impossible (from the point of view of one node) to tell the difference of a remote system being completely unavailable … Read More

Akka Cluster, Java and the Raspberry PI 3 Model B

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 fast is the message sending, … Read More

The one Play Framework productivity tip you should know about

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 this albeit simple tooling tip … Read More

Upgrading from React 0.11.2 to 0.14.7 in 374 easy steps

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 was probably the only project … Read More

A quick tour of JSON libraries in Scala

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 when it comes to JSON … Read More

Generation Javascript

I’ll start by saying that this is not a rant, but rather a cry of despair that I’m repeating and that slowly – but steadily – seems to come to consciousness in our industry, like this one. The phenomenon I’m about to describe is not only limited to the Javascript community either, that community seems a lot more affected than … Read More

The case for document-oriented databases

Last week, I started working with AngularJS for a real-world project – I had played with Angular before, mainly to see how it differs from KnockoutJS which I had been using intensively before. This post is not about AngularJS itself (I may write one later on when I have a better perspective about the framework), I’ll just say that my … Read More

Dynamic multi-modular SBT project

As the Delving Culture-Hub project grows, I found myself adding module definitions by hand to the SBT more often than what I’d wish for, and for each adjustment of a common value, having to go through all modules and adjust them. So after a while, I wondered whether it wouldn’t be possible to discover modules dynamically, rather than maintaining them … Read More

Play! Scala and JSON

Update: If you need to have custom de/serialization of some types, check out this new post I’ve been working with Play! Scala for a couple of months now, and the experience is really good – the combination of the Scala language and the sound design principles of Play! make web-development a real pleasure. One of the aspects I have been … Read More

How I stopped reading the news and feel much better now

Over the past years, we have been given the access of increasingly more and more information. Not only are we given the opportunity to get nearly real-time information about all the terrorist attacks, accidents, revolutions and other events happening around the world, but with the evolution of mobile services, we get access to this information just everwhere. Like Tim Berners-Lee … Read More