Book Image

Learn Apache Mesos

By : Manuj Aggarwal
Book Image

Learn Apache Mesos

By: Manuj Aggarwal

Overview of this book

Apache Mesos is an open source cluster manager that provides efficient resource isolation and sharing across distributed applications or frameworks. This book will help you build a strong foundation of Mesos' capabilities along with practical examples to support the concepts explained throughout the book. Learn Apache Mesos dives straight into how Mesos works. You will be introduced to the distributed system and its challenges and then learn how you can use Mesos and its framework to solve data problems. You will also gain a full understanding of Mesos' internal mechanisms and get equipped to use Mesos and develop applications. Furthermore, this book lets you explore all the steps required to create highly available clusters and build your own Mesos frameworks. You will also cover application deployment and monitoring. By the end of this book, you will have learned how to use Mesos to make full use of machines and how to simplify data center maintenance.
Table of Contents (10 chapters)

Scheduling and allocating resources

In section, we will understand

Understanding resource scheduling

Mesos has two levels of resource scheduling, which are as follows:

  • In the first level, the Mesos master process gets the details of the free resources available on each node from the slave process. From there the master process gets the details of the free resources, such as CPU, memory, and so on, that are available on each slave process. Then, it groups them and offers them with a different framework, such as Marathon, Cassandra, or any of the other available frameworks available to the Mesos cluster.
  • In the second level, frameworks registered as a client with the master accept or reject the offer, depending upon the requirements...