Skip to Main Content
Learn Apache Mesos
book

Learn Apache Mesos

by Manuj Aggarwal
October 2018
Intermediate to advanced content levelIntermediate to advanced
248 pages
4h 46m
English
Packt Publishing
Content preview from Learn Apache Mesos

Understanding resource allocation

Let's understand the resource location as follows: 

  • The Mesos master uses the resource allocation module to determine the type and quantity of resource offers to be made to frameworks.
  • Resource allocation modules are responsible for providing shared resources in a fair manner to competing frameworks.
  • Mesos has the dominant resource fairness (DRF) algorithm as its default resource allocation policy, which is far more suitable for most environments.
  • So, let's consider a case where the total resources available are 8 CPUs and 10 GB of memory. User 1 runs tasks that require 1 CPU and 3 GB of memory, and user 2 runs tasks that require 3 CPUs and 1 GB of memory. Let's understand the following concepts:
  • Dominant ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mesos in Action

Mesos in Action

Roger Ignazio
SELinux

SELinux

Bill McCarty
Linux: Powerful Server Administration

Linux: Powerful Server Administration

Uday Sawant, Oliver Pelz, Jonathan Hobson, William Leemans
Apache Cookbook, 2nd Edition

Apache Cookbook, 2nd Edition

Rich Bowen, Ken Coar

Publisher Resources

ISBN: 9781789137385Supplemental Content