Book Image

Mastering Mesos

By : Dipa Dubhashi, Akhil Das
Book Image

Mastering Mesos

By: Dipa Dubhashi, Akhil Das

Overview of this book

Apache Mesos is open source cluster management software that provides efficient resource isolations and resource sharing distributed applications or frameworks. This book will take you on a journey to enhance your knowledge from amateur to master level, showing you how to improve the efficiency, management, and development of Mesos clusters. The architecture is quite complex and this book will explore the difficulties and complexities of working with Mesos. We begin by introducing Mesos, explaining its architecture and functionality. Next, we provide a comprehensive overview of Mesos features and advanced topics such as high availability, fault tolerance, scaling, and efficiency. Furthermore, you will learn to set up multi-node Mesos clusters on private and public clouds. We will also introduce several Mesos-based scheduling and management frameworks or applications to enable the easy deployment, discovery, load balancing, and failure handling of long-running services. Next, you will find out how a Mesos cluster can be easily set up and monitored using the standard deployment and configuration management tools. This advanced guide will show you how to deploy important big data processing frameworks such as Hadoop, Spark, and Storm on Mesos and big data storage frameworks such as Cassandra, Elasticsearch, and Kafka.
Table of Contents (16 chapters)
Mastering Mesos
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface
Index

Mesos modules


Mesos modules, introduced in v0.21.0, build on this concept to allow users to extend the functionality of Mesos through libraries that can be created as well as shared without continuous recompilation. A module in the context of Mesos is an entire component that can be added or replaced by any user. All external dependencies are treated as separate libraries that can be loaded on demand. All users can now develop their experimental features on top of Mesos without needing to understand all the detailed inner workings or impacting other users. Custom allocation logic, custom oversubscribed resource estimation algorithms, and many such use-case-specific customized functionalities can be implemented. Different subsystems, such as load balancers, isolation mechanisms, and service discovery mechanisms can also be configured in a modular way.

Module invocation

The --modules cli flag is available for the master and slave to provide a module list that needs to be made available.

The module...