The Mesos API
Mesos provides an API to allow developers to build custom frameworks that can run on top of the underlying distributed infrastructure. Refer to the API details section in Chapter 1, Introducing Mesos for a detailed explanation of the Mesos API. The detailed steps involved in developing bespoke frameworks leveraging this API will be described in the subsequent section with the help of an example.
Mesos also implements an actor style message-passing programming model to enable nonblocking communication between different Mesos components and leverages protocol buffers for the same.
In addition, there is also a new scheduler HTTP API that was recently introduced, and it will be briefly discussed in the next section.