Book Image

Apache Mesos Essentials

By : Dharmesh Kakadia
Book Image

Apache Mesos Essentials

By: Dharmesh Kakadia

Overview of this book

<p>Apache Mesos is a cluster manager that provides efficient resource isolation and sharing across distributed applications, or frameworks. It allows developers to concurrently run the likes of Hadoop, Spark, Storm, and other applications on a dynamically shared pool of nodes. With Mesos, you have the power to manage a wide range of resources in a multi-tenant environment.</p> <p>Starting with the basics, this book will give you an insight into all the features that Mesos has to offer. You will first learn how to set up Mesos in various environments from data centers to the cloud. You will then learn how to implement self-managed Platform as a Service environment with Mesos using various service schedulers, such as Chronos, Aurora, and Marathon. You will then delve into the depths of Mesos fundamentals and learn how to build distributed applications using Mesos primitives.</p> <p>Finally, you will round things off by covering the operational aspects of Mesos including logging, monitoring, high availability, and recovery.</p>
Table of Contents (15 chapters)
Apache Mesos Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 7. Developing Frameworks on Mesos

Mesos is a common substrate for cluster computing. This means that Mesos is able to support a wide range of frameworks running on common resources. We saw how to run various frameworks on Mesos in the preceding chapters. There are many more frameworks developed by the Mesos community that validate the generality of the Mesos API and serve the most common use cases and a wide range of workloads. We will always have some use cases that are not served by any existing frameworks. This is a good time to roll out our own framework and realize the power of Mesos. This chapter will discuss the Mesos API in detail, and we will go through the steps involved in implementing a Mesos framework in Java. We will cover the following topics:

  • The Mesos API

  • Developing a Mesos framework

  • Building our framework

  • Advanced topics

  • Developer resources