Chapter 4. Mesos fundamentals
This chapter covers
- Resource scheduling, allocation, and reservations
- Customizing slave resources, attributes, and roles
- Using containers to isolate and monitor resources
- Fault-tolerance and high availability
Now that you’ve learned about the Mesos architecture and how it provides a means to run multiple applications on a single, general-purpose cluster, let’s dive into how Mesos works. This chapter covers how a Mesos master handles resource scheduling and allocation, how a workload’s resources can be isolated and monitored, and how Mesos provides a fault-tolerant and highly available environment on which to build and run distributed applications.
By now, you’ve learned that Mesos offers available cluster resources to framework schedulers in the form of resource offers. By default, these resources include available CPUs, memory, storage, and network ports. In this section, you’ll learn how Mesos schedules resources, and how its allocation module offers those resources to various frameworks. This section also covers how to fine-tune this decision making to fit the needs of your environment.