
Building Applications on Mesos
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
How can Apache Mesos make a difference in your organization? With this practical guide, you'll learn how this cluster manager directs your datacenter's resources, and provides real time APIs for interacting with (and developing for) the entire cluster. You'll learn how to use Mesos as a deployment system, like Ansible or Chef, and as an execution platform for building and hosting higher-level applications, like Hadoop.
Author David Greenberg shows you how Mesos manages your entire datacenter as a single logical entity, eliminating the need to assign fixed sets of machines to applications. You'll quickly discover why Mesos is the ultimate DevOps tool.
- Understand Mesos architecture, and learn how it manages CPU, memory, and other resources across a cluster
- Build an application on top of Mesos with Marathon, a platform for hosting services on Mesos
- Create new, production-ready frameworks for Mesos
- Write a custom executor to provide richer interaction between the Mesos scheduler and workers
- Dive into advanced topics, including the reconciliation process, Docker integration, dynamic reservations, and persistent volumes
- Learn about today's Mesos initiatives that will likely become tomorrow's features
More details
Other editions
Additional editions

Content
- Intro
- Copyright
- Table of Contents
- Preface
- Conventions Used in This Book
- Safari® Books Online
- How to Contact Us
- Acknowledgments
- Chapter 1. Introduction to Mesos
- How to Use Mesos
- Mesos as a Deployment System
- Mesos as an Execution Platform
- How This Book Is Structured
- Summary
- Chapter 2. Getting Started with Mesos
- Frameworks
- Masters and Slaves
- The Masters
- The Slaves
- Resources
- Configuring Custom Resources
- Configuring Slave Attributes
- Roles
- Static and Dynamic Slave Reservations
- Tasks and Executors
- CommandExecutor
- Understanding mesos.proto
- Not Managed by Mesos
- Summary
- Chapter 3. Porting an Existing Application to Mesos
- Moving a Web Application to Mesos
- Setting Up Marathon
- Using Marathon
- Scaling Your Application
- Using Placement Constraints
- Running Dockerized Applications
- Health Checks
- Application Versioning and Rolling Upgrades
- The Event Bus
- Setting Up HAProxy with Marathon
- Running Mesos Frameworks on Marathon
- What Is Chronos?
- Running Chronos on Marathon
- Chronos Operational Concerns
- Chronos on Marathon: Summary
- Alternatives to Marathon + Chronos
- Singularity
- Aurora
- Summary
- Chapter 4. Creating a New Framework for Mesos
- The Scheduler
- Pool of Servers Scheduler
- Work Queue Scheduler
- Job Processor Scheduler
- Useless Remote BASH
- Implementing a Basic Job Processor
- Matching Tasks to Offers
- Bridging the Semantic Gap Between Offers and Jobs
- Adding High Availability
- Adding Reconciliation
- Advanced Scheduler Techniques
- Distributed Communication
- Forced Failover
- Consolidating Offers
- Hardening Your Scheduler
- Framework UI
- Allocating Ports
- Checkpointing
- CommandInfo
- Summary
- Chapter 5. Building a Mesos Executor
- The Executor
- Building a Work Queue's Worker
- Running Pickled Tasks
- Sharing Resources
- Better Babysitting
- Augmented Logging
- Rewriting the CommandExecutor
- Bootstrapping Executor Installation
- Adding Heartbeats
- Advanced Executor Features
- Progress Reporting
- Adding Remote Logging
- Multiple Tasks
- Summary
- Chapter 6. Advanced Topics in Mesos
- Libprocess and the Actor Model
- The Consistency Model
- How Is Slave Failure Handled?
- How Is Master Failure Handled? (Or, the Registry)
- Reconciliation During Failover
- Containerizers
- Using Docker
- The New Offer API
- Framework Dynamic Reservations API
- Persistent Volumes for Databases
- Summary
- Chapter 7. The Future of Mesos
- Multitenant Workloads
- Oversubscription
- Databases and Turnkey Infrastructure
- IP per Container
- Summary
- Index
- About the Author
System requirements
File format: PDF
Copy-Protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our eBook Help page.