A python notebook to experiment with the Apache Mesos HTTP API – Part 3 of 3

This is the third and final part of a three-part series: Part 1 describes the required setup and how to get Apache Mesos Master and Agent running in two Vagrant VMs; Part 2 shows how to connect to the HTTP API and accept resource offers. This series is an extended (and updated) version of the … More A python notebook to experiment with the Apache Mesos HTTP API – Part 3 of 3

libprocess – an Actor-based inter-process communication library

Introduction to libprocess In Apache Mesos we make heavy use of the Actor model implemented in the libprocess library: the most recent implementation can be found under the 3rdparty folder in the Mesos repository (here). libprocess was created originally at Berkley by Benjamin Hindman who is also the original creator of Mesos and implements “an … More libprocess – an Actor-based inter-process communication library

Using Stout to parse command-line options

A new post of mine has just been published on Mesosphere Blog: Almost every program needs to parse some form of command-line argument. Often, this is a pretty large set of possible options, and the management of the various options is usually pretty tedious while adding virtually no value to the program’s functionality. Google’s gflags … More Using Stout to parse command-line options

HOW-TO Build Mesos on Mac OSX – Eclipse

Update – El Capitan upgrade If you have recently upgraded to El Capitan (OSX 10.11.1) your Mesos build may be broken, due to “missing libapr-1 headers”: ../configure will cause the following error: libapr-1 is required for mesos to build. To resolve, install `apr` using `brew` and then add the `–with-apr` flag to `../configure`: brew install … More HOW-TO Build Mesos on Mac OSX – Eclipse

Data-driven tests for Spring Data (MongoDB)

When testing a project that uses Spring Data repositories, we may want to insert ‘known-good’ data into arbitrary MongoDB collections, reading it, for example, from JSON iles (typically somewhere in the test/resources subtree). However, some of the data stored in Mongo is in BSON format, which extends the plain JSON format with some Object types … More Data-driven tests for Spring Data (MongoDB)