SlideShare a Scribd company logo
1 of 38
Download to read offline
BASLE BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA
HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART VIENNA ZURICH
Introducing Apache Mesos
Matthias Furrer
Bruno Fuss
A modern cluster manager optimizing resource utilization
Agenda
TechEvent March 2017 - Introducing Apache Mesos2 03/2017
1. Introduction
Architecture (components)
Distributions
Other Offerings
2. Frameworks
Service Scheduling and
Management Frameworks
Big Data Frameworks
3. HA Components
Zookeeper
Marathon
3. Configuration
Mesos
Marathon
Kafka
4. Live Demo
Mesos
Kafka
5. Summary
Use Cases / Benefits
TechEvent March 2017 - Introducing Apache Mesos3 03/2017
Introduction
Introducing Apache Mesos
A software layer to aggregate servers into one processing unit
TechEvent March 2017 - Introducing Apache Mesos4 03/2017
Distributed Cluster Management Software
System Resources (Memory, Storage) abstraction from Hardware
Metascheduler („scheduler of schedulers“)
Distributed Systems Kernel / Distributed Datacenter OS
Supports Mesos and Docker Containers
Open Source
– Runs under Apache License 2.0
Cross Plattform
– Written in C++
– Runs on Linux/Posix systems, Experimental for Windows
Architecture - Features
TechEvent March 2017 - Introducing Apache Mesos5 03/2017
Scalability
– Scales up to over 50‘000 nodes
Resource isolation
– Linux cgroups or Docker containers
Efficiency
– Resource scheduling accross multiple frameworks/applications
High availability
– Uses Apache Zookeeper (distributed configuration and synchronization service)
Monitoring Interface
– Web UI
Components
TechEvent March 2017 - Introducing Apache Mesos6 03/2017
Master
– Mediating agent resources
Agents
– Manage resources on individual nodes and executes
tasks
Frameworks
Applications
– Systems running on mesos consisting of a scheduler and an
executor (e.g. Spark, Storm ,Cassandra)
Chronos
– Fault tolerant job scheduler, can handle dependencies - acts
as a cron for mesos
Marathon
– Framework for running long-running services – init.d for
mesos
Architecture – High Level Overview
TechEvent March 2017 - Introducing Apache Mesos7 03/2017
Zookeeper ensures high availability of masters
Master daemon manages agent (slave) daemons
Mesos frameworks run tasks on agents (slaves)
Master decides how many resources to offer to each
framework according to a given organizational policy
(e.g fair sharing or strict priority).
Framework running on top of Mesos consists of two
components: a scheduler that registers with the master
to be offered resources, and an executor process that
is launched on agent nodes to run the framework’s
taskSource: https://mesos.apache.org/documentation/latest/architecture
Architecture – Resource Offering
TechEvent March 2017 - Introducing Apache Mesos8 03/2017
1. Agent 1 reports to the master that it has 4
CPUs and 4 GB of memory free. The master
then invokes the allocation policy module
2. The master sends a resource offer describing
what is available on agent 1 to framework
3. The framework’s scheduler replies to the
master with information about two tasks to
run on the agent
4. Master sends the tasks to the agent, which
allocates appropriate resources to the
framework’s executor, which launches the
two tasks. Because CPU/RAM Resources
are still unallocated, the allocation module
may now offer them to framework 2.
Source: https://mesos.apache.org/documentation/latest/architecture
Distributions– Mesosphere DC/OS
TechEvent March 2017 - Introducing Apache Mesos9 03/2017
Commercial version: Mesosphere Datacenter Operating System
Open Source version: DC/OS available - derived from Mesosphere’s Datacenter
Operating System
Based on Mesos and Marathon
Supports Docker as well as native Mesos containers
Container orchestration capabilities for Docker and Mesos containers including
automatic workload recovery, security, networking, service discovery
“Push-button installation” of complex distributed systems (including HDFS, Apache
Spark, Apache Kafka, Apache Cassandra and more) with DC/OS Universe
Runs on bare-metal, virtual (vSphere or OpenStack) and cloud (AWS, Azure, GCE)
Other Offerings
TechEvent March 2017 - Introducing Apache Mesos10 03/2017
Kubernetes (Google / Cloud Native Computing Foundation CNCF)
Docker Swarm (Docker, Inc.)
Rkt fleet (CoreOS, Inc.)
Shipyard (Shipyard Project)
CloudSlang (Hewlett Packard Enterprise)
Ranger (Ranger Labs)
Azure Service Fabric (Microsoft)
TechEvent March 2017 - Introducing Apache Mesos11 03/2017
Frameworks
Service Scheduling and Management Frameworks
TechEvent March 2017 - Introducing Apache Mesos12 03/2017
Marathon
– Launch and monitor long-running applications. Controlling a high availability
environment, checking the applications' health and restarting services if nodes go
down
Chronos
– Distributed, fully fault-tolerant job scheduler. Can interact with systems (e.g.
Hadoop) even if the Mesos worker machine does not have the system installed
Apache Aurora
– Manages long-running services, cron jobs, and ad-hoc jobs
Consul
– Service Discovery and orchestration
Big Data Frameworks
TechEvent March 2017 - Introducing Apache Mesos13 03/2017
Apache Hadoop
– Distributed Data Processing, MapReduce and Distributed File System (HDFS)
Apache Spark
– Execution engine for large-scale data processing. Batch processing, iterative
processing, near real-time processing, and stream processing. Caching data in
memory with Resilient Distributed Datasets (RDD)
Apache Storm
– Real-time distributed stream event-processing engine
Apache Cassandra
– Open source scalable NoSQL database. Provides query language Cassandra
Query Language or CQL to communicate with database
Big Data Frameworks (II)
TechEvent March 2017 - Introducing Apache Mesos14 03/2017
Apache Kafka
– distributed publish-subscribe messaging system designed for speed, scalability,
reliability, and durability
Apache Samza
– Distributed stream processing framework. Using Kafka for messaging and Hadoop
YARN for resource management
Elasticsearch-Logstash-Kibana (ELK) stack
– End-to-End log analytics solution: Elasticsearch for search capabilities, Logstash
as a log management software and Kibana as the visualization layer
Mesos API
– Develop custom frameworks – schedulers and executors
TechEvent March 2017 - Introducing Apache Mesos15 03/2017
High Availability
Components
Apache Zookeeper
TechEvent March 2017 - Introducing Apache Mesos16 03/2017
ZooKeeper
– is a centralized service for maintaining configuration information, naming, providing distributed
synchronization, and providing group services.
Independent Apache Project
Characteristics
– Central Key/Value Store
– Containing additional Information like time stamps, versioning, …
– Simple
– Fast
– Designed for High Availability
Apache Zookeeper
TechEvent March 2017 - Introducing Apache Mesos17 03/2017
High Availability
– one Leader
– two or more Followers
– Quorum
Follower
Apache Zookeeper
TechEvent March 2017 - Introducing Apache Mesos18 03/2017
Data Model
– Hierarchical Namespace
– Z-Nodes (Zookeeper Nodes)
– Nodes identified by Path
• Ex.: /app1/p_1
Ephemeral Nodes
Leader Election
Conditional updates and watches
Atomic Transactions
Apache Zookeeper on Mesos
Zookeeper takes hand in everywhere Mesos needs to store and call up distributed
dynamic information
– Service Locations
– Service States
– Client Notifications
– Leader election for Mesos Masters and Frameworks (e.g. Marathon, etc.)
03/2017 TechEvent March 2017 - Introducing Apache Mesos19
Marathon
Marathon is a Apache Mesos framework for container orchestration
– designed for long running and stateful Apps (e.g. Database, App. Server, etc.)
Marathon is a meta framework
– used for managing other Mesos Frameworks (Chronos, Storm, …)
Container Support
– Mesos Containers (default)
– Docker Constainers (must be configured)
03/2017 TechEvent March 2017 - Introducing Apache Mesos20
Marathon
Features
– High Availability
– Constraints
– Service Discovery & Load Balancing (Mesos-DNS, Marathon-LB)
– Health Checking
– Event Subscription
– User Interfaces for managing services (start, stop, check, …)
• Marathon UI (GUI)
• REST API
– Basic Security (Authorisation, SSL, …)
03/2017 TechEvent March 2017 - Introducing Apache Mesos21
Marathon Example
Mesos Master and Agents (Slaves),
Zookeeper and Marathon started by
OS on each server (initd, systemd)
Marathon starts frameworks on
Mesos Agents (Chronos, JBoss,
Jetty, Rails)
Chronos, a fault tolerant job
scheduler acts itself as framework
and starts jobs (e.g. dumps a
database, send Emails)
03/2017 TechEvent March 2017 - Introducing Apache Mesos22
TechEvent March 2017 - Introducing Apache Mesos23 03/2017
Installation & Configuration
Installing and Configuring Apache Mesos
Installation
– http://mesos.apache.org/gettingstarted
– Different between CentOS 6 / 7
• Different Requirements (OS Packages, Libraries, …)
– configure / make / make install
– Zookeeper included
03/2017 TechEvent March 2017 - Introducing Apache Mesos24
Installing and Configuring Apache Mesos
Configuration
– http://mesos.apache.org/documentation/latest/configuration
– Provide parameters by config file or as startup parameter
– Required parameters (M: on Master, A: on Agent)
--zk="zk://mesos1:2181,mesos2:2181,mesos3:2181/mesos" (M,A)
--quorum=2 (M)
--work_dir=<workdir_path> (M,A)
--containerizers=mesos,docker (A)
03/2017 TechEvent March 2017 - Introducing Apache Mesos25
Installing and Configuring Marathon
Requirements
• Apache Mesos 1.1.1+
• Apache ZooKeeper
• JDK 1.8+
• Default JVM set to Java 8
Installation
– https://mesosphere.github.io/marathon/docs/
– Dowload/unpack Kit (tar)
03/2017 TechEvent March 2017 - Introducing Apache Mesos26
Installing and Configuring Marathon
Configuration
– Library: MESOS_NATIVE_JAVA_LIBRARY
• searches the common installation paths, /usr/lib and /usr/local/lib, for the Mesos native library.
If the library lives elsewhere in your configuration, set the environment variable
MESOS_NATIVE_JAVA_LIBRARY to its full path.
– Parameters: Marathon uses --master to find the Mesos masters, and --zk to find
ZooKeepers for storing state
--master="zk://mesos1:2181,mesos2:2181,mesos3:2181/mesos"
--zk="zk://mesos1:2181,mesos2:2181,mesos3:2181/marathon"
03/2017 TechEvent March 2017 - Introducing Apache Mesos27
Installing and Configuring Apache Kafka for Mesos
TechEvent March 2017 - Introducing Apache Mesos28 03/2017
Installation
• According to https://github.com/mesos/kafka
• Make sure to retrieve the Kafka download from https://archive.apache.org/dist/kafka from a
version containing a fitting Scala library (Version indicated on the Mesos page may not be
correct) to avoid java.lang.NoSuchMethodError
Configuration
• Set Mesos connection info in kafka-mesos.properties
• Start Scheduler on ONE Mesos agent (Marathon can be used to manage)
• Add Broker(s)
• Start Broker(s)
TechEvent March 2017 - Introducing Apache Mesos29 03/2017
Demo
mesos1 mesos2
mesos3 mesos4 mesosn
…
mesosn-1
TVD Mesos Platform / Server
extendable
• additional Servers (on-premise)
• Cloud
• …
03/2017 TechEvent March 2017 - Introducing Apache Mesos30
BF2
Slide 30
BF2 Bruno Fuss, 3/8/2017
mesos1 mesos2
mesos3 mesos4 mesosn
…
mesosn-1
Mesos
Master
Mesos
Master
Mesos
Agent
Mesos
Agent
TVD Mesos Platform / Mesos Components
Mesos
Agent
Mesos
Agent
HA concept Master: active/passive
03/2017 TechEvent March 2017 - Introducing Apache Mesos31
mesos1 mesos2
mesos3 mesos4
Mesos
Master
Mesos
Master
Mesos
Agent
Mesos
Agent
Zoo
keeper
Zoo
keeper
Zoo
keeper
TVD Mesos Platform / Zookeeper Components
HA concept: active/active
1 leader
2-n followers
Zookeeper quorum= 2
mesosn
…
mesosn-1
Mesos
Agent
Mesos
Agent
03/2017 TechEvent March 2017 - Introducing Apache Mesos32
BF3
Slide 32
BF3 Bruno Fuss, 3/8/2017
TechEvent March 2017 - Introducing Apache Mesos33 03/2017
Summary
Use Cases / Why use Mesos
TechEvent March 2017 - Introducing Apache Mesos34 03/2017
Enhance resilience against failure
Need for application-specific scaling
Increase resource utilization
Wide range of workloads must be supported – e.g. Batch (Hadoop), Analysis
(Spark), real-time (Storm), data storage (HDFS, Cassandra)
Open source with vivid community
Developer API – minimal considerations about infrastructure details
Matthias Furrer
Principal Consultant, Application Integration & SOA
matthias.furrer@trivadis.com
03/2017 TechEvent March 2017 - Introducing Apache Mesos35
Bruno Fuss
Senior Consultant, Infrastructure Managed Services
Bruno.fuss@trivadis.com
Session Feedback – now
TechEvent March 2017 - Introducing Apache Mesos36 03/2017
Please use the Trivadis Events mobile app to give feedback on each session
Use "My schedule" if you have registered for a session
Otherwise use "Agenda" and the search function
If the mobile app does not work (or if you have a Windows smartphone), use your
smartphone browser
– URL: http://trivadis.quickmobileplatform.eu/
– User name: <your_loginname> (such as “svv”)
– Password: sent by e-mail...

More Related Content

What's hot

AZ-204 : Implement Azure security
AZ-204 : Implement Azure securityAZ-204 : Implement Azure security
AZ-204 : Implement Azure securityAzureEzy1
 
CI-CD Jenkins, GitHub Actions, Tekton
CI-CD Jenkins, GitHub Actions, Tekton CI-CD Jenkins, GitHub Actions, Tekton
CI-CD Jenkins, GitHub Actions, Tekton Araf Karsh Hamid
 
SQL to Azure Migrations
SQL to Azure MigrationsSQL to Azure Migrations
SQL to Azure MigrationsDatavail
 
Messaging - RabbitMQ, Azure (Service Bus), Docker and Azure Functions
Messaging - RabbitMQ, Azure (Service Bus), Docker and Azure FunctionsMessaging - RabbitMQ, Azure (Service Bus), Docker and Azure Functions
Messaging - RabbitMQ, Azure (Service Bus), Docker and Azure FunctionsJohn Staveley
 
Introduction to Chef
Introduction to ChefIntroduction to Chef
Introduction to ChefKnoldus Inc.
 
Systems Monitoring with Prometheus (Devops Ireland April 2015)
Systems Monitoring with Prometheus (Devops Ireland April 2015)Systems Monitoring with Prometheus (Devops Ireland April 2015)
Systems Monitoring with Prometheus (Devops Ireland April 2015)Brian Brazil
 
Monitoring MySQL with Prometheus and Grafana
Monitoring MySQL with Prometheus and GrafanaMonitoring MySQL with Prometheus and Grafana
Monitoring MySQL with Prometheus and GrafanaJulien Pivotto
 
Monitoring With Prometheus
Monitoring With PrometheusMonitoring With Prometheus
Monitoring With PrometheusKnoldus Inc.
 
Prometheus - basics
Prometheus - basicsPrometheus - basics
Prometheus - basicsJuraj Hantak
 
Spark and the Hadoop Ecosystem: Best Practices for Amazon EMR
Spark and the Hadoop Ecosystem: Best Practices for Amazon EMRSpark and the Hadoop Ecosystem: Best Practices for Amazon EMR
Spark and the Hadoop Ecosystem: Best Practices for Amazon EMRAmazon Web Services
 
All You Need to Know about AWS Elastic Load Balancer
All You Need to Know about AWS Elastic Load BalancerAll You Need to Know about AWS Elastic Load Balancer
All You Need to Know about AWS Elastic Load BalancerCloudlytics
 
Alfresco Transform Service DevCon 2019
Alfresco Transform Service DevCon 2019Alfresco Transform Service DevCon 2019
Alfresco Transform Service DevCon 2019J V
 
Getting Started Monitoring with Prometheus and Grafana
Getting Started Monitoring with Prometheus and GrafanaGetting Started Monitoring with Prometheus and Grafana
Getting Started Monitoring with Prometheus and GrafanaSyah Dwi Prihatmoko
 
Microservices Architecture - Cloud Native Apps
Microservices Architecture - Cloud Native AppsMicroservices Architecture - Cloud Native Apps
Microservices Architecture - Cloud Native AppsAraf Karsh Hamid
 
Prometheus Overview
Prometheus OverviewPrometheus Overview
Prometheus OverviewBrian Brazil
 
MySQL Monitoring using Prometheus & Grafana
MySQL Monitoring using Prometheus & GrafanaMySQL Monitoring using Prometheus & Grafana
MySQL Monitoring using Prometheus & GrafanaYoungHeon (Roy) Kim
 

What's hot (20)

AZ-204 : Implement Azure security
AZ-204 : Implement Azure securityAZ-204 : Implement Azure security
AZ-204 : Implement Azure security
 
Caching
CachingCaching
Caching
 
Azure Pipelines
Azure PipelinesAzure Pipelines
Azure Pipelines
 
CI-CD Jenkins, GitHub Actions, Tekton
CI-CD Jenkins, GitHub Actions, Tekton CI-CD Jenkins, GitHub Actions, Tekton
CI-CD Jenkins, GitHub Actions, Tekton
 
SQL to Azure Migrations
SQL to Azure MigrationsSQL to Azure Migrations
SQL to Azure Migrations
 
Messaging - RabbitMQ, Azure (Service Bus), Docker and Azure Functions
Messaging - RabbitMQ, Azure (Service Bus), Docker and Azure FunctionsMessaging - RabbitMQ, Azure (Service Bus), Docker and Azure Functions
Messaging - RabbitMQ, Azure (Service Bus), Docker and Azure Functions
 
Introduction to Chef
Introduction to ChefIntroduction to Chef
Introduction to Chef
 
Systems Monitoring with Prometheus (Devops Ireland April 2015)
Systems Monitoring with Prometheus (Devops Ireland April 2015)Systems Monitoring with Prometheus (Devops Ireland April 2015)
Systems Monitoring with Prometheus (Devops Ireland April 2015)
 
Intro to Amazon ECS
Intro to Amazon ECSIntro to Amazon ECS
Intro to Amazon ECS
 
Monitoring MySQL with Prometheus and Grafana
Monitoring MySQL with Prometheus and GrafanaMonitoring MySQL with Prometheus and Grafana
Monitoring MySQL with Prometheus and Grafana
 
Monitoring With Prometheus
Monitoring With PrometheusMonitoring With Prometheus
Monitoring With Prometheus
 
Prometheus - basics
Prometheus - basicsPrometheus - basics
Prometheus - basics
 
Spark and the Hadoop Ecosystem: Best Practices for Amazon EMR
Spark and the Hadoop Ecosystem: Best Practices for Amazon EMRSpark and the Hadoop Ecosystem: Best Practices for Amazon EMR
Spark and the Hadoop Ecosystem: Best Practices for Amazon EMR
 
All You Need to Know about AWS Elastic Load Balancer
All You Need to Know about AWS Elastic Load BalancerAll You Need to Know about AWS Elastic Load Balancer
All You Need to Know about AWS Elastic Load Balancer
 
Alfresco Transform Service DevCon 2019
Alfresco Transform Service DevCon 2019Alfresco Transform Service DevCon 2019
Alfresco Transform Service DevCon 2019
 
Getting Started Monitoring with Prometheus and Grafana
Getting Started Monitoring with Prometheus and GrafanaGetting Started Monitoring with Prometheus and Grafana
Getting Started Monitoring with Prometheus and Grafana
 
Microservices Architecture - Cloud Native Apps
Microservices Architecture - Cloud Native AppsMicroservices Architecture - Cloud Native Apps
Microservices Architecture - Cloud Native Apps
 
Prometheus Overview
Prometheus OverviewPrometheus Overview
Prometheus Overview
 
MySQL Monitoring using Prometheus & Grafana
MySQL Monitoring using Prometheus & GrafanaMySQL Monitoring using Prometheus & Grafana
MySQL Monitoring using Prometheus & Grafana
 
Architecture: Microservices
Architecture: MicroservicesArchitecture: Microservices
Architecture: Microservices
 

Viewers also liked

Monitoring and Tuning Oracle FMW 11g
Monitoring and Tuning Oracle FMW 11gMonitoring and Tuning Oracle FMW 11g
Monitoring and Tuning Oracle FMW 11gMatthias Furrer
 
Getting Started With SlideShare
Getting Started With SlideShareGetting Started With SlideShare
Getting Started With SlideShareSlideShare
 
Introduction to Apache Mesos
Introduction to Apache MesosIntroduction to Apache Mesos
Introduction to Apache MesosMorteza Zakeri
 
BigData in Life Sciences, Genomics and Systems Biology
BigData in Life Sciences, Genomics and Systems BiologyBigData in Life Sciences, Genomics and Systems Biology
BigData in Life Sciences, Genomics and Systems BiologyHarsha Rajasimha
 
How to Make Awesome SlideShares: Tips & Tricks
How to Make Awesome SlideShares: Tips & TricksHow to Make Awesome SlideShares: Tips & Tricks
How to Make Awesome SlideShares: Tips & TricksSlideShare
 
Double the Performance of Oracle SOA Suite 11g? Absolutely!
Double the Performance of Oracle SOA Suite 11g? Absolutely!Double the Performance of Oracle SOA Suite 11g? Absolutely!
Double the Performance of Oracle SOA Suite 11g? Absolutely!Revelation Technologies
 
FIT2CLOUD - 打造自己的持续交付平台
FIT2CLOUD - 打造自己的持续交付平台FIT2CLOUD - 打造自己的持续交付平台
FIT2CLOUD - 打造自己的持续交付平台Fit2Cloud
 
FIT2CLOUD:云管理及DevOps协作平台
FIT2CLOUD:云管理及DevOps协作平台FIT2CLOUD:云管理及DevOps协作平台
FIT2CLOUD:云管理及DevOps协作平台Fit2Cloud
 
混合云安全创新实践应用
混合云安全创新实践应用混合云安全创新实践应用
混合云安全创新实践应用Hardway Hou
 
Beware the pitfalls when migrating to hybrid cloud with openstack
Beware the pitfalls when migrating to hybrid cloud with openstackBeware the pitfalls when migrating to hybrid cloud with openstack
Beware the pitfalls when migrating to hybrid cloud with openstackShuquan Huang
 
Comarch Paiement Mobile
Comarch Paiement MobileComarch Paiement Mobile
Comarch Paiement MobileComarch SAS
 
Slide of the Month - Payment cards in Nigeria
Slide of the Month - Payment cards in NigeriaSlide of the Month - Payment cards in Nigeria
Slide of the Month - Payment cards in NigeriaMarc Zander
 
DevOps+Data: Working with Source Control
DevOps+Data: Working with Source ControlDevOps+Data: Working with Source Control
DevOps+Data: Working with Source ControlEd Leighton-Dick
 
CI/CD/DevOps 使用 travis ci 服務
CI/CD/DevOps 使用 travis ci 服務CI/CD/DevOps 使用 travis ci 服務
CI/CD/DevOps 使用 travis ci 服務Yu Lung Shao
 
Data center outsourcing a new paradigm for the IT
Data center outsourcing a new paradigm for the ITData center outsourcing a new paradigm for the IT
Data center outsourcing a new paradigm for the ITAlessandro Guli
 
Melt iron heterogeneous computing - lspe v3
Melt iron   heterogeneous computing - lspe v3Melt iron   heterogeneous computing - lspe v3
Melt iron heterogeneous computing - lspe v3Rinka Singh
 
PayPalアカウントを使った便利で安心なプラットフォーム運用
PayPalアカウントを使った便利で安心なプラットフォーム運用PayPalアカウントを使った便利で安心なプラットフォーム運用
PayPalアカウントを使った便利で安心なプラットフォーム運用Junichi Okamura
 
Iot_algyan_hands-on_20161129
Iot_algyan_hands-on_20161129Iot_algyan_hands-on_20161129
Iot_algyan_hands-on_20161129Junichi Okamura
 
Paradigm shift in CI at PayPal with Docker and Mesos
Paradigm shift in CI at PayPal with Docker and MesosParadigm shift in CI at PayPal with Docker and Mesos
Paradigm shift in CI at PayPal with Docker and MesosSathiya Narayanan
 

Viewers also liked (20)

Monitoring and Tuning Oracle FMW 11g
Monitoring and Tuning Oracle FMW 11gMonitoring and Tuning Oracle FMW 11g
Monitoring and Tuning Oracle FMW 11g
 
Getting Started With SlideShare
Getting Started With SlideShareGetting Started With SlideShare
Getting Started With SlideShare
 
Introduction to Apache Mesos
Introduction to Apache MesosIntroduction to Apache Mesos
Introduction to Apache Mesos
 
BigData in Life Sciences, Genomics and Systems Biology
BigData in Life Sciences, Genomics and Systems BiologyBigData in Life Sciences, Genomics and Systems Biology
BigData in Life Sciences, Genomics and Systems Biology
 
How to Make Awesome SlideShares: Tips & Tricks
How to Make Awesome SlideShares: Tips & TricksHow to Make Awesome SlideShares: Tips & Tricks
How to Make Awesome SlideShares: Tips & Tricks
 
Double the Performance of Oracle SOA Suite 11g? Absolutely!
Double the Performance of Oracle SOA Suite 11g? Absolutely!Double the Performance of Oracle SOA Suite 11g? Absolutely!
Double the Performance of Oracle SOA Suite 11g? Absolutely!
 
FIT2CLOUD - 打造自己的持续交付平台
FIT2CLOUD - 打造自己的持续交付平台FIT2CLOUD - 打造自己的持续交付平台
FIT2CLOUD - 打造自己的持续交付平台
 
CloudTao
CloudTaoCloudTao
CloudTao
 
FIT2CLOUD:云管理及DevOps协作平台
FIT2CLOUD:云管理及DevOps协作平台FIT2CLOUD:云管理及DevOps协作平台
FIT2CLOUD:云管理及DevOps协作平台
 
混合云安全创新实践应用
混合云安全创新实践应用混合云安全创新实践应用
混合云安全创新实践应用
 
Beware the pitfalls when migrating to hybrid cloud with openstack
Beware the pitfalls when migrating to hybrid cloud with openstackBeware the pitfalls when migrating to hybrid cloud with openstack
Beware the pitfalls when migrating to hybrid cloud with openstack
 
Comarch Paiement Mobile
Comarch Paiement MobileComarch Paiement Mobile
Comarch Paiement Mobile
 
Slide of the Month - Payment cards in Nigeria
Slide of the Month - Payment cards in NigeriaSlide of the Month - Payment cards in Nigeria
Slide of the Month - Payment cards in Nigeria
 
DevOps+Data: Working with Source Control
DevOps+Data: Working with Source ControlDevOps+Data: Working with Source Control
DevOps+Data: Working with Source Control
 
CI/CD/DevOps 使用 travis ci 服務
CI/CD/DevOps 使用 travis ci 服務CI/CD/DevOps 使用 travis ci 服務
CI/CD/DevOps 使用 travis ci 服務
 
Data center outsourcing a new paradigm for the IT
Data center outsourcing a new paradigm for the ITData center outsourcing a new paradigm for the IT
Data center outsourcing a new paradigm for the IT
 
Melt iron heterogeneous computing - lspe v3
Melt iron   heterogeneous computing - lspe v3Melt iron   heterogeneous computing - lspe v3
Melt iron heterogeneous computing - lspe v3
 
PayPalアカウントを使った便利で安心なプラットフォーム運用
PayPalアカウントを使った便利で安心なプラットフォーム運用PayPalアカウントを使った便利で安心なプラットフォーム運用
PayPalアカウントを使った便利で安心なプラットフォーム運用
 
Iot_algyan_hands-on_20161129
Iot_algyan_hands-on_20161129Iot_algyan_hands-on_20161129
Iot_algyan_hands-on_20161129
 
Paradigm shift in CI at PayPal with Docker and Mesos
Paradigm shift in CI at PayPal with Docker and MesosParadigm shift in CI at PayPal with Docker and Mesos
Paradigm shift in CI at PayPal with Docker and Mesos
 

Similar to Introducing Apache Mesos

OSDC 2015: Bernd Mathiske | Why the Datacenter Needs an Operating System
OSDC 2015: Bernd Mathiske | Why the Datacenter Needs an Operating SystemOSDC 2015: Bernd Mathiske | Why the Datacenter Needs an Operating System
OSDC 2015: Bernd Mathiske | Why the Datacenter Needs an Operating SystemNETWAYS
 
MANTL Data Platform, Microservices and BigData Services
MANTL Data Platform, Microservices and BigData ServicesMANTL Data Platform, Microservices and BigData Services
MANTL Data Platform, Microservices and BigData ServicesCisco DevNet
 
Fully fault tolerant real time data pipeline with docker and mesos
Fully fault tolerant real time data pipeline with docker and mesos Fully fault tolerant real time data pipeline with docker and mesos
Fully fault tolerant real time data pipeline with docker and mesos Rahul Kumar
 
AI&BigData Lab 2016. Сарапин Виктор: Размер имеет значение: анализ по требова...
AI&BigData Lab 2016. Сарапин Виктор: Размер имеет значение: анализ по требова...AI&BigData Lab 2016. Сарапин Виктор: Размер имеет значение: анализ по требова...
AI&BigData Lab 2016. Сарапин Виктор: Размер имеет значение: анализ по требова...GeeksLab Odessa
 
Mesos: Cluster Management System
Mesos: Cluster Management SystemMesos: Cluster Management System
Mesos: Cluster Management SystemErhan Bagdemir
 
Apache Flink Meets Apache Mesos And DC/OS @ Mesos Meetup Berlin
Apache Flink Meets Apache Mesos And DC/OS @ Mesos Meetup BerlinApache Flink Meets Apache Mesos And DC/OS @ Mesos Meetup Berlin
Apache Flink Meets Apache Mesos And DC/OS @ Mesos Meetup BerlinTill Rohrmann
 
Compass first meetup
Compass first meetupCompass first meetup
Compass first meetupShuo Yang
 
Containerized Data Persistence on Mesos
Containerized Data Persistence on MesosContainerized Data Persistence on Mesos
Containerized Data Persistence on MesosJoe Stein
 
DevOps in Age of Kubernetes
DevOps in Age of KubernetesDevOps in Age of Kubernetes
DevOps in Age of KubernetesMesosphere Inc.
 
Scaling ArangoDB on Mesosphere DCOS
Scaling ArangoDB on Mesosphere DCOSScaling ArangoDB on Mesosphere DCOS
Scaling ArangoDB on Mesosphere DCOSMax Neunhöffer
 
Scalable On-Demand Hadoop Clusters with Docker and Mesos
Scalable On-Demand Hadoop Clusters with Docker and MesosScalable On-Demand Hadoop Clusters with Docker and Mesos
Scalable On-Demand Hadoop Clusters with Docker and MesosDataWorks Summit
 
Scalable On-Demand Hadoop Clusters with Docker and Mesos
Scalable On-Demand Hadoop Clusters with Docker and MesosScalable On-Demand Hadoop Clusters with Docker and Mesos
Scalable On-Demand Hadoop Clusters with Docker and Mesosnelsonadpresent
 
DevOps vs. Site Reliability Engineering (SRE) in Age of Kubernetes
DevOps vs. Site Reliability Engineering (SRE) in Age of KubernetesDevOps vs. Site Reliability Engineering (SRE) in Age of Kubernetes
DevOps vs. Site Reliability Engineering (SRE) in Age of KubernetesDevOps.com
 
Ceph-Mesos framework
Ceph-Mesos frameworkCeph-Mesos framework
Ceph-Mesos frameworkZhongyue Luo
 
Introduction to DC/OS
Introduction to DC/OSIntroduction to DC/OS
Introduction to DC/OSAmita Ekbote
 
Cloud Infrastructures Slide Set 8 - More Cloud Technologies - Mesos, Spark | ...
Cloud Infrastructures Slide Set 8 - More Cloud Technologies - Mesos, Spark | ...Cloud Infrastructures Slide Set 8 - More Cloud Technologies - Mesos, Spark | ...
Cloud Infrastructures Slide Set 8 - More Cloud Technologies - Mesos, Spark | ...anynines GmbH
 

Similar to Introducing Apache Mesos (20)

OSDC 2015: Bernd Mathiske | Why the Datacenter Needs an Operating System
OSDC 2015: Bernd Mathiske | Why the Datacenter Needs an Operating SystemOSDC 2015: Bernd Mathiske | Why the Datacenter Needs an Operating System
OSDC 2015: Bernd Mathiske | Why the Datacenter Needs an Operating System
 
MANTL Data Platform, Microservices and BigData Services
MANTL Data Platform, Microservices and BigData ServicesMANTL Data Platform, Microservices and BigData Services
MANTL Data Platform, Microservices and BigData Services
 
Apache mesos - overview
Apache mesos - overviewApache mesos - overview
Apache mesos - overview
 
Fully fault tolerant real time data pipeline with docker and mesos
Fully fault tolerant real time data pipeline with docker and mesos Fully fault tolerant real time data pipeline with docker and mesos
Fully fault tolerant real time data pipeline with docker and mesos
 
AI&BigData Lab 2016. Сарапин Виктор: Размер имеет значение: анализ по требова...
AI&BigData Lab 2016. Сарапин Виктор: Размер имеет значение: анализ по требова...AI&BigData Lab 2016. Сарапин Виктор: Размер имеет значение: анализ по требова...
AI&BigData Lab 2016. Сарапин Виктор: Размер имеет значение: анализ по требова...
 
Mesos: Cluster Management System
Mesos: Cluster Management SystemMesos: Cluster Management System
Mesos: Cluster Management System
 
Apache Flink Meets Apache Mesos And DC/OS @ Mesos Meetup Berlin
Apache Flink Meets Apache Mesos And DC/OS @ Mesos Meetup BerlinApache Flink Meets Apache Mesos And DC/OS @ Mesos Meetup Berlin
Apache Flink Meets Apache Mesos And DC/OS @ Mesos Meetup Berlin
 
Compass first meetup
Compass first meetupCompass first meetup
Compass first meetup
 
Mesos introduction
Mesos introductionMesos introduction
Mesos introduction
 
Containerized Data Persistence on Mesos
Containerized Data Persistence on MesosContainerized Data Persistence on Mesos
Containerized Data Persistence on Mesos
 
DevOps in Age of Kubernetes
DevOps in Age of KubernetesDevOps in Age of Kubernetes
DevOps in Age of Kubernetes
 
Scaling ArangoDB on Mesosphere DCOS
Scaling ArangoDB on Mesosphere DCOSScaling ArangoDB on Mesosphere DCOS
Scaling ArangoDB on Mesosphere DCOS
 
Scalable On-Demand Hadoop Clusters with Docker and Mesos
Scalable On-Demand Hadoop Clusters with Docker and MesosScalable On-Demand Hadoop Clusters with Docker and Mesos
Scalable On-Demand Hadoop Clusters with Docker and Mesos
 
Scalable On-Demand Hadoop Clusters with Docker and Mesos
Scalable On-Demand Hadoop Clusters with Docker and MesosScalable On-Demand Hadoop Clusters with Docker and Mesos
Scalable On-Demand Hadoop Clusters with Docker and Mesos
 
Apache Mesos
Apache MesosApache Mesos
Apache Mesos
 
DevOps vs. Site Reliability Engineering (SRE) in Age of Kubernetes
DevOps vs. Site Reliability Engineering (SRE) in Age of KubernetesDevOps vs. Site Reliability Engineering (SRE) in Age of Kubernetes
DevOps vs. Site Reliability Engineering (SRE) in Age of Kubernetes
 
Ceph-Mesos framework
Ceph-Mesos frameworkCeph-Mesos framework
Ceph-Mesos framework
 
Introduction to DC/OS
Introduction to DC/OSIntroduction to DC/OS
Introduction to DC/OS
 
Kosmos Filesystem
Kosmos FilesystemKosmos Filesystem
Kosmos Filesystem
 
Cloud Infrastructures Slide Set 8 - More Cloud Technologies - Mesos, Spark | ...
Cloud Infrastructures Slide Set 8 - More Cloud Technologies - Mesos, Spark | ...Cloud Infrastructures Slide Set 8 - More Cloud Technologies - Mesos, Spark | ...
Cloud Infrastructures Slide Set 8 - More Cloud Technologies - Mesos, Spark | ...
 

Recently uploaded

Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...panagenda
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 

Recently uploaded (20)

Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 

Introducing Apache Mesos

  • 1. BASLE BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART VIENNA ZURICH Introducing Apache Mesos Matthias Furrer Bruno Fuss A modern cluster manager optimizing resource utilization
  • 2. Agenda TechEvent March 2017 - Introducing Apache Mesos2 03/2017 1. Introduction Architecture (components) Distributions Other Offerings 2. Frameworks Service Scheduling and Management Frameworks Big Data Frameworks 3. HA Components Zookeeper Marathon 3. Configuration Mesos Marathon Kafka 4. Live Demo Mesos Kafka 5. Summary Use Cases / Benefits
  • 3. TechEvent March 2017 - Introducing Apache Mesos3 03/2017 Introduction
  • 4. Introducing Apache Mesos A software layer to aggregate servers into one processing unit TechEvent March 2017 - Introducing Apache Mesos4 03/2017 Distributed Cluster Management Software System Resources (Memory, Storage) abstraction from Hardware Metascheduler („scheduler of schedulers“) Distributed Systems Kernel / Distributed Datacenter OS Supports Mesos and Docker Containers Open Source – Runs under Apache License 2.0 Cross Plattform – Written in C++ – Runs on Linux/Posix systems, Experimental for Windows
  • 5. Architecture - Features TechEvent March 2017 - Introducing Apache Mesos5 03/2017 Scalability – Scales up to over 50‘000 nodes Resource isolation – Linux cgroups or Docker containers Efficiency – Resource scheduling accross multiple frameworks/applications High availability – Uses Apache Zookeeper (distributed configuration and synchronization service) Monitoring Interface – Web UI
  • 6. Components TechEvent March 2017 - Introducing Apache Mesos6 03/2017 Master – Mediating agent resources Agents – Manage resources on individual nodes and executes tasks Frameworks Applications – Systems running on mesos consisting of a scheduler and an executor (e.g. Spark, Storm ,Cassandra) Chronos – Fault tolerant job scheduler, can handle dependencies - acts as a cron for mesos Marathon – Framework for running long-running services – init.d for mesos
  • 7. Architecture – High Level Overview TechEvent March 2017 - Introducing Apache Mesos7 03/2017 Zookeeper ensures high availability of masters Master daemon manages agent (slave) daemons Mesos frameworks run tasks on agents (slaves) Master decides how many resources to offer to each framework according to a given organizational policy (e.g fair sharing or strict priority). Framework running on top of Mesos consists of two components: a scheduler that registers with the master to be offered resources, and an executor process that is launched on agent nodes to run the framework’s taskSource: https://mesos.apache.org/documentation/latest/architecture
  • 8. Architecture – Resource Offering TechEvent March 2017 - Introducing Apache Mesos8 03/2017 1. Agent 1 reports to the master that it has 4 CPUs and 4 GB of memory free. The master then invokes the allocation policy module 2. The master sends a resource offer describing what is available on agent 1 to framework 3. The framework’s scheduler replies to the master with information about two tasks to run on the agent 4. Master sends the tasks to the agent, which allocates appropriate resources to the framework’s executor, which launches the two tasks. Because CPU/RAM Resources are still unallocated, the allocation module may now offer them to framework 2. Source: https://mesos.apache.org/documentation/latest/architecture
  • 9. Distributions– Mesosphere DC/OS TechEvent March 2017 - Introducing Apache Mesos9 03/2017 Commercial version: Mesosphere Datacenter Operating System Open Source version: DC/OS available - derived from Mesosphere’s Datacenter Operating System Based on Mesos and Marathon Supports Docker as well as native Mesos containers Container orchestration capabilities for Docker and Mesos containers including automatic workload recovery, security, networking, service discovery “Push-button installation” of complex distributed systems (including HDFS, Apache Spark, Apache Kafka, Apache Cassandra and more) with DC/OS Universe Runs on bare-metal, virtual (vSphere or OpenStack) and cloud (AWS, Azure, GCE)
  • 10. Other Offerings TechEvent March 2017 - Introducing Apache Mesos10 03/2017 Kubernetes (Google / Cloud Native Computing Foundation CNCF) Docker Swarm (Docker, Inc.) Rkt fleet (CoreOS, Inc.) Shipyard (Shipyard Project) CloudSlang (Hewlett Packard Enterprise) Ranger (Ranger Labs) Azure Service Fabric (Microsoft)
  • 11. TechEvent March 2017 - Introducing Apache Mesos11 03/2017 Frameworks
  • 12. Service Scheduling and Management Frameworks TechEvent March 2017 - Introducing Apache Mesos12 03/2017 Marathon – Launch and monitor long-running applications. Controlling a high availability environment, checking the applications' health and restarting services if nodes go down Chronos – Distributed, fully fault-tolerant job scheduler. Can interact with systems (e.g. Hadoop) even if the Mesos worker machine does not have the system installed Apache Aurora – Manages long-running services, cron jobs, and ad-hoc jobs Consul – Service Discovery and orchestration
  • 13. Big Data Frameworks TechEvent March 2017 - Introducing Apache Mesos13 03/2017 Apache Hadoop – Distributed Data Processing, MapReduce and Distributed File System (HDFS) Apache Spark – Execution engine for large-scale data processing. Batch processing, iterative processing, near real-time processing, and stream processing. Caching data in memory with Resilient Distributed Datasets (RDD) Apache Storm – Real-time distributed stream event-processing engine Apache Cassandra – Open source scalable NoSQL database. Provides query language Cassandra Query Language or CQL to communicate with database
  • 14. Big Data Frameworks (II) TechEvent March 2017 - Introducing Apache Mesos14 03/2017 Apache Kafka – distributed publish-subscribe messaging system designed for speed, scalability, reliability, and durability Apache Samza – Distributed stream processing framework. Using Kafka for messaging and Hadoop YARN for resource management Elasticsearch-Logstash-Kibana (ELK) stack – End-to-End log analytics solution: Elasticsearch for search capabilities, Logstash as a log management software and Kibana as the visualization layer Mesos API – Develop custom frameworks – schedulers and executors
  • 15. TechEvent March 2017 - Introducing Apache Mesos15 03/2017 High Availability Components
  • 16. Apache Zookeeper TechEvent March 2017 - Introducing Apache Mesos16 03/2017 ZooKeeper – is a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services. Independent Apache Project Characteristics – Central Key/Value Store – Containing additional Information like time stamps, versioning, … – Simple – Fast – Designed for High Availability
  • 17. Apache Zookeeper TechEvent March 2017 - Introducing Apache Mesos17 03/2017 High Availability – one Leader – two or more Followers – Quorum Follower
  • 18. Apache Zookeeper TechEvent March 2017 - Introducing Apache Mesos18 03/2017 Data Model – Hierarchical Namespace – Z-Nodes (Zookeeper Nodes) – Nodes identified by Path • Ex.: /app1/p_1 Ephemeral Nodes Leader Election Conditional updates and watches Atomic Transactions
  • 19. Apache Zookeeper on Mesos Zookeeper takes hand in everywhere Mesos needs to store and call up distributed dynamic information – Service Locations – Service States – Client Notifications – Leader election for Mesos Masters and Frameworks (e.g. Marathon, etc.) 03/2017 TechEvent March 2017 - Introducing Apache Mesos19
  • 20. Marathon Marathon is a Apache Mesos framework for container orchestration – designed for long running and stateful Apps (e.g. Database, App. Server, etc.) Marathon is a meta framework – used for managing other Mesos Frameworks (Chronos, Storm, …) Container Support – Mesos Containers (default) – Docker Constainers (must be configured) 03/2017 TechEvent March 2017 - Introducing Apache Mesos20
  • 21. Marathon Features – High Availability – Constraints – Service Discovery & Load Balancing (Mesos-DNS, Marathon-LB) – Health Checking – Event Subscription – User Interfaces for managing services (start, stop, check, …) • Marathon UI (GUI) • REST API – Basic Security (Authorisation, SSL, …) 03/2017 TechEvent March 2017 - Introducing Apache Mesos21
  • 22. Marathon Example Mesos Master and Agents (Slaves), Zookeeper and Marathon started by OS on each server (initd, systemd) Marathon starts frameworks on Mesos Agents (Chronos, JBoss, Jetty, Rails) Chronos, a fault tolerant job scheduler acts itself as framework and starts jobs (e.g. dumps a database, send Emails) 03/2017 TechEvent March 2017 - Introducing Apache Mesos22
  • 23. TechEvent March 2017 - Introducing Apache Mesos23 03/2017 Installation & Configuration
  • 24. Installing and Configuring Apache Mesos Installation – http://mesos.apache.org/gettingstarted – Different between CentOS 6 / 7 • Different Requirements (OS Packages, Libraries, …) – configure / make / make install – Zookeeper included 03/2017 TechEvent March 2017 - Introducing Apache Mesos24
  • 25. Installing and Configuring Apache Mesos Configuration – http://mesos.apache.org/documentation/latest/configuration – Provide parameters by config file or as startup parameter – Required parameters (M: on Master, A: on Agent) --zk="zk://mesos1:2181,mesos2:2181,mesos3:2181/mesos" (M,A) --quorum=2 (M) --work_dir=<workdir_path> (M,A) --containerizers=mesos,docker (A) 03/2017 TechEvent March 2017 - Introducing Apache Mesos25
  • 26. Installing and Configuring Marathon Requirements • Apache Mesos 1.1.1+ • Apache ZooKeeper • JDK 1.8+ • Default JVM set to Java 8 Installation – https://mesosphere.github.io/marathon/docs/ – Dowload/unpack Kit (tar) 03/2017 TechEvent March 2017 - Introducing Apache Mesos26
  • 27. Installing and Configuring Marathon Configuration – Library: MESOS_NATIVE_JAVA_LIBRARY • searches the common installation paths, /usr/lib and /usr/local/lib, for the Mesos native library. If the library lives elsewhere in your configuration, set the environment variable MESOS_NATIVE_JAVA_LIBRARY to its full path. – Parameters: Marathon uses --master to find the Mesos masters, and --zk to find ZooKeepers for storing state --master="zk://mesos1:2181,mesos2:2181,mesos3:2181/mesos" --zk="zk://mesos1:2181,mesos2:2181,mesos3:2181/marathon" 03/2017 TechEvent March 2017 - Introducing Apache Mesos27
  • 28. Installing and Configuring Apache Kafka for Mesos TechEvent March 2017 - Introducing Apache Mesos28 03/2017 Installation • According to https://github.com/mesos/kafka • Make sure to retrieve the Kafka download from https://archive.apache.org/dist/kafka from a version containing a fitting Scala library (Version indicated on the Mesos page may not be correct) to avoid java.lang.NoSuchMethodError Configuration • Set Mesos connection info in kafka-mesos.properties • Start Scheduler on ONE Mesos agent (Marathon can be used to manage) • Add Broker(s) • Start Broker(s)
  • 29. TechEvent March 2017 - Introducing Apache Mesos29 03/2017 Demo
  • 30. mesos1 mesos2 mesos3 mesos4 mesosn … mesosn-1 TVD Mesos Platform / Server extendable • additional Servers (on-premise) • Cloud • … 03/2017 TechEvent March 2017 - Introducing Apache Mesos30 BF2
  • 31. Slide 30 BF2 Bruno Fuss, 3/8/2017
  • 32. mesos1 mesos2 mesos3 mesos4 mesosn … mesosn-1 Mesos Master Mesos Master Mesos Agent Mesos Agent TVD Mesos Platform / Mesos Components Mesos Agent Mesos Agent HA concept Master: active/passive 03/2017 TechEvent March 2017 - Introducing Apache Mesos31
  • 33. mesos1 mesos2 mesos3 mesos4 Mesos Master Mesos Master Mesos Agent Mesos Agent Zoo keeper Zoo keeper Zoo keeper TVD Mesos Platform / Zookeeper Components HA concept: active/active 1 leader 2-n followers Zookeeper quorum= 2 mesosn … mesosn-1 Mesos Agent Mesos Agent 03/2017 TechEvent March 2017 - Introducing Apache Mesos32 BF3
  • 34. Slide 32 BF3 Bruno Fuss, 3/8/2017
  • 35. TechEvent March 2017 - Introducing Apache Mesos33 03/2017 Summary
  • 36. Use Cases / Why use Mesos TechEvent March 2017 - Introducing Apache Mesos34 03/2017 Enhance resilience against failure Need for application-specific scaling Increase resource utilization Wide range of workloads must be supported – e.g. Batch (Hadoop), Analysis (Spark), real-time (Storm), data storage (HDFS, Cassandra) Open source with vivid community Developer API – minimal considerations about infrastructure details
  • 37. Matthias Furrer Principal Consultant, Application Integration & SOA matthias.furrer@trivadis.com 03/2017 TechEvent March 2017 - Introducing Apache Mesos35 Bruno Fuss Senior Consultant, Infrastructure Managed Services Bruno.fuss@trivadis.com
  • 38. Session Feedback – now TechEvent March 2017 - Introducing Apache Mesos36 03/2017 Please use the Trivadis Events mobile app to give feedback on each session Use "My schedule" if you have registered for a session Otherwise use "Agenda" and the search function If the mobile app does not work (or if you have a Windows smartphone), use your smartphone browser – URL: http://trivadis.quickmobileplatform.eu/ – User name: <your_loginname> (such as “svv”) – Password: sent by e-mail...