SlideShare a Scribd company logo
Apache Mesos
A romantic stroll into Distributed Computing
Brandon Gulla - Praxis Engineering
● Beer.
● Why distributed-computing is hard? ***
● How Mesos helps.
● Mesos in the wild.
● DCOS-Demo.
● Questions?
● Repeat Step 1
This is a shortened version of the talk I normally
give, feel free to contact me offline for a deeper
dive.
Agenda
$ > whoami
Brandon Gulla
Distributed DevOps Engineer
blgulla@praxiseng.com
github/bgulla
Mesosphere
● Commercial company supporting Apache Mesos based in SF and Hamburg,
Germany.
● Founded by the Apache Mesos Founder Ben Hindman, Former AirBnB CTO Tobi
Knapp and previous Twitter Engineer Florian Leibert.
● Provides full stack Mesos solutions running Apache Mesos as well as their corporate
product: DCOS (Datacenter Operating System).
● Keith McClellan will be presenting a demo as soon as you’re tired of me.
Mesos
Frameworks
● Servers, Memory and Disks have gotten cheaper so we buy
more. These often go under-utilized.
● Traditionally, clusters have been provisioned statically.
● Puppet, SaltStack, Ansible, **pdsh** :(
● Not Multi-tenant friendly.
● DevOps Nightmare!!!
● Doesn’t Scale :(
“Just Network them together!”
Personal Gateway To Mesos
● Customer had a 100+ node Hadoop cluster with
legacy dependency requirements.
● Wanted to utilize current MapReduce libraries
without breaking ingest requirements.
● More importantly: Customer wanted a way to
manage their resources on demand...
Solution:
● Open-source two-level Resource Manager.
● Written in C++ wrapping around libprocess.
● Scalable - Runs on 10,000s of servers.
● Fault-Tolerant! Multiple masters. Load Balancing!
● Solve Bigger Problems.
● I/O Isolation via Linux cgroups.
● Distributed Resource Manager:
● RAM
● Disks
● Ports
● GPUs
● Network (Yes- Software Defined Networking)
Welcome to Apache Mesos
Mesos: Turn Your Datacenter
into One Large Computer
● Where did we install MySQL? Who cares! Mesos +
Service Discovery = Dynamic Awesomeness.
● Separates dependencies between Ops and
Development. Ops wants to take a rack down, who
cares, just move the processes from that rack
somewhere else. Ops can do this as part of their
work. Developers shouldn't know/care.
● Fault Tolerant, if something dies, Mesos will
automatically spin another one up.
History
Shared Resources = Multi-Tenancy
Mesos Explained
Apache Mesos Distributed Computing Talk
Resource Offers and Launching
A Task
Writing your own Mesos
Framework
● Feature Complete API using:
● JVM Languages (Java, Scala, Groovy)
● C++
● Python
● Go
● Write a framework in minutes using Mesos-
Compose.
● YML interface
● Similar to Docker-Compose
● Unit Testing with Mini-Mesos
Don’t want to write your own Mesos
Framework? No problemo, Amigo.
0 to Mesos in seconds
with Marathon.
Containers: VMs but awesomer.
● Shares Kernel with Host (no hypervisor)
● Boots in milliseconds.
● Portable. docker pull python:27
● Run CentOS on Debian, Run Gentoo on Alpine.
● Dependency Friendly
● If you’re replacing a once statically installed,
non-distributed application: Use Marathon.
● Apache, Nginx, Jenkins..etc
● If your application requires fine grain control and
orchestration of tasks: Write your own
Framework.
● Apache Accumulo
● Hadoop Yarn (Shameless Apache Myriad Plug)
● Spark
Framework Development:
My Experiences
Mesos in the Wild
● Netflix: Mantis+Fenzo
● Apple: Jarvis (Siri)
● Microsoft Azure Container Service.
Mesos: Full Stack Replacement
Current Mesos Equivalent
Systemd Marathon
Cron Chronos
DNS Mesos-DNS
Chroot / BSD Jail Docker
NFS Gluster, CEF, HDFS
Redefined Thinking
Before:
After:
Processes
Apache Mesos Distributed Computing Talk
Mesos
Frameworks
Demo Time
To Infinity and Beyond.

More Related Content

What's hot (20)

PDF
Front End Development Automation with Grunt
Ladies Who Code
 
PPTX
Npm and bower
Joan Yin
 
PDF
GRU: Taming a Herd of Wild Servers - Oz Katz, Similarweb - DevOpsDays Tel Avi...
DevOpsDays Tel Aviv
 
PDF
Virtualisation - Vagrant and Docker
James Ford
 
PDF
PuppetCamp Nj 2015- Puppet/packer presentation
Philip Watts
 
PDF
PAC 2019 virtual Mark Tomlinson
Neotys
 
PDF
S&T What I know about Node 110817
Dan Dineen
 
PPT
Local Dev on Virtual Machines - Vagrant, VirtualBox and Ansible
Jeff Geerling
 
PDF
Noit ocon-2010
Theo Schlossnagle
 
PDF
Building a minecraft server for a family using Auto Scaling Groups
Kazuhiro Ogura
 
PDF
Gulp and Compass
fatleaf
 
PPTX
Data Management and Streaming Strategies in Drakensang Online
Andre Weissflog
 
PPTX
PHP Indonesia - Nodejs Web Development
Irfan Maulana
 
PPTX
Introduction to using Grunt & Bower with WordPress theme development
James Bundey
 
PDF
Happy Browser, Happy User! WordSesh 2019
Katie Sylor-Miller
 
PDF
Server architecture & scaling strategy for a sports website
Leonidas Tsementzis
 
PPT
Mysql talk
LogicMonitor
 
PDF
Afrimadoni the power of docker
PHP Indonesia
 
PDF
Docker orchestration with kontena
Giovanni Cândido da Silva
 
KEY
Hejfaktura
Matti Kotsalainen
 
Front End Development Automation with Grunt
Ladies Who Code
 
Npm and bower
Joan Yin
 
GRU: Taming a Herd of Wild Servers - Oz Katz, Similarweb - DevOpsDays Tel Avi...
DevOpsDays Tel Aviv
 
Virtualisation - Vagrant and Docker
James Ford
 
PuppetCamp Nj 2015- Puppet/packer presentation
Philip Watts
 
PAC 2019 virtual Mark Tomlinson
Neotys
 
S&T What I know about Node 110817
Dan Dineen
 
Local Dev on Virtual Machines - Vagrant, VirtualBox and Ansible
Jeff Geerling
 
Noit ocon-2010
Theo Schlossnagle
 
Building a minecraft server for a family using Auto Scaling Groups
Kazuhiro Ogura
 
Gulp and Compass
fatleaf
 
Data Management and Streaming Strategies in Drakensang Online
Andre Weissflog
 
PHP Indonesia - Nodejs Web Development
Irfan Maulana
 
Introduction to using Grunt & Bower with WordPress theme development
James Bundey
 
Happy Browser, Happy User! WordSesh 2019
Katie Sylor-Miller
 
Server architecture & scaling strategy for a sports website
Leonidas Tsementzis
 
Mysql talk
LogicMonitor
 
Afrimadoni the power of docker
PHP Indonesia
 
Docker orchestration with kontena
Giovanni Cândido da Silva
 
Hejfaktura
Matti Kotsalainen
 

Similar to Apache Mesos Distributed Computing Talk (20)

PDF
Mesos: Cluster Management System
Erhan Bagdemir
 
PDF
Mesos introduction
Olivier Sallou
 
PDF
Cloud infrastructure on Apache Mesos
Ahmed Bacha
 
PDF
Introducing Apache Mesos
Matthias Furrer
 
PDF
Easy Docker Deployments with Mesosphere DCOS on Azure
Mesosphere Inc.
 
PDF
Strata SC 2014: Apache Mesos as an SDK for Building Distributed Frameworks
Paco Nathan
 
PDF
Introduction to DC/OS
Matt Jarvis
 
PDF
Introduction to DC/OS
Matt Jarvis
 
PPTX
Apache Mesos
Puneet soni
 
PPTX
Scaling Like Twitter with Apache Mesos
Mesosphere Inc.
 
PDF
Making Distributed Data Persistent Services Elastic (Without Losing All Your ...
C4Media
 
PDF
Datacenter Computing and Resource Management Using Apache Mesos
Sigmoid
 
PDF
Mesos: A State-of-the-art Container Orchestrator
C4Media
 
PDF
Modern Container Orchestration (Without Breaking the Bank)
All Things Open
 
PDF
Datacenter Computing with Apache Mesos - BigData DC
Paco Nathan
 
PPTX
Apache mesos - overview
amgoth kundan lal
 
PDF
Mesos and the Architecture of the New Datacenter
QAware GmbH
 
PDF
Apache Mesos Overview and Integration
Alex Baretto
 
PDF
Modern Elastic Datacenter Architecture
Weston Bassler
 
PPTX
EMC World 2016 - Introduction to Mesos and Mesosphere
David vonThenen
 
Mesos: Cluster Management System
Erhan Bagdemir
 
Mesos introduction
Olivier Sallou
 
Cloud infrastructure on Apache Mesos
Ahmed Bacha
 
Introducing Apache Mesos
Matthias Furrer
 
Easy Docker Deployments with Mesosphere DCOS on Azure
Mesosphere Inc.
 
Strata SC 2014: Apache Mesos as an SDK for Building Distributed Frameworks
Paco Nathan
 
Introduction to DC/OS
Matt Jarvis
 
Introduction to DC/OS
Matt Jarvis
 
Apache Mesos
Puneet soni
 
Scaling Like Twitter with Apache Mesos
Mesosphere Inc.
 
Making Distributed Data Persistent Services Elastic (Without Losing All Your ...
C4Media
 
Datacenter Computing and Resource Management Using Apache Mesos
Sigmoid
 
Mesos: A State-of-the-art Container Orchestrator
C4Media
 
Modern Container Orchestration (Without Breaking the Bank)
All Things Open
 
Datacenter Computing with Apache Mesos - BigData DC
Paco Nathan
 
Apache mesos - overview
amgoth kundan lal
 
Mesos and the Architecture of the New Datacenter
QAware GmbH
 
Apache Mesos Overview and Integration
Alex Baretto
 
Modern Elastic Datacenter Architecture
Weston Bassler
 
EMC World 2016 - Introduction to Mesos and Mesosphere
David vonThenen
 
Ad

Recently uploaded (20)

PPTX
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
PDF
AI TECHNIQUES FOR IDENTIFYING ALTERATIONS IN THE HUMAN GUT MICROBIOME IN MULT...
vidyalalltv1
 
PDF
GTU Civil Engineering All Semester Syllabus.pdf
Vimal Bhojani
 
PDF
Biomechanics of Gait: Engineering Solutions for Rehabilitation (www.kiu.ac.ug)
publication11
 
PPTX
artificial intelligence applications in Geomatics
NawrasShatnawi1
 
PPTX
Heart Bleed Bug - A case study (Course: Cryptography and Network Security)
Adri Jovin
 
PPTX
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
PPTX
Shinkawa Proposal to meet Vibration API670.pptx
AchmadBashori2
 
PPTX
Depth First Search Algorithm in 🧠 DFS in Artificial Intelligence (AI)
rafeeqshaik212002
 
PDF
Viol_Alessandro_Presentazione_prelaurea.pdf
dsecqyvhbowrzxshhf
 
PDF
MAD Unit - 2 Activity and Fragment Management in Android (Diploma IT)
JappanMavani
 
PPTX
What is Shot Peening | Shot Peening is a Surface Treatment Process
Vibra Finish
 
PDF
PORTFOLIO Golam Kibria Khan — architect with a passion for thoughtful design...
MasumKhan59
 
DOC
MRRS Strength and Durability of Concrete
CivilMythili
 
PDF
AI TECHNIQUES FOR IDENTIFYING ALTERATIONS IN THE HUMAN GUT MICROBIOME IN MULT...
vidyalalltv1
 
PDF
Introduction to Productivity and Quality
মোঃ ফুরকান উদ্দিন জুয়েল
 
PDF
International Journal of Information Technology Convergence and services (IJI...
ijitcsjournal4
 
PDF
Electrical Engineer operation Supervisor
ssaruntatapower143
 
DOCX
CS-802 (A) BDH Lab manual IPS Academy Indore
thegodhimself05
 
PPTX
Element 11. ELECTRICITY safety and hazards
merrandomohandas
 
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
AI TECHNIQUES FOR IDENTIFYING ALTERATIONS IN THE HUMAN GUT MICROBIOME IN MULT...
vidyalalltv1
 
GTU Civil Engineering All Semester Syllabus.pdf
Vimal Bhojani
 
Biomechanics of Gait: Engineering Solutions for Rehabilitation (www.kiu.ac.ug)
publication11
 
artificial intelligence applications in Geomatics
NawrasShatnawi1
 
Heart Bleed Bug - A case study (Course: Cryptography and Network Security)
Adri Jovin
 
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
Shinkawa Proposal to meet Vibration API670.pptx
AchmadBashori2
 
Depth First Search Algorithm in 🧠 DFS in Artificial Intelligence (AI)
rafeeqshaik212002
 
Viol_Alessandro_Presentazione_prelaurea.pdf
dsecqyvhbowrzxshhf
 
MAD Unit - 2 Activity and Fragment Management in Android (Diploma IT)
JappanMavani
 
What is Shot Peening | Shot Peening is a Surface Treatment Process
Vibra Finish
 
PORTFOLIO Golam Kibria Khan — architect with a passion for thoughtful design...
MasumKhan59
 
MRRS Strength and Durability of Concrete
CivilMythili
 
AI TECHNIQUES FOR IDENTIFYING ALTERATIONS IN THE HUMAN GUT MICROBIOME IN MULT...
vidyalalltv1
 
Introduction to Productivity and Quality
মোঃ ফুরকান উদ্দিন জুয়েল
 
International Journal of Information Technology Convergence and services (IJI...
ijitcsjournal4
 
Electrical Engineer operation Supervisor
ssaruntatapower143
 
CS-802 (A) BDH Lab manual IPS Academy Indore
thegodhimself05
 
Element 11. ELECTRICITY safety and hazards
merrandomohandas
 
Ad

Apache Mesos Distributed Computing Talk

  • 1. Apache Mesos A romantic stroll into Distributed Computing Brandon Gulla - Praxis Engineering
  • 2. ● Beer. ● Why distributed-computing is hard? *** ● How Mesos helps. ● Mesos in the wild. ● DCOS-Demo. ● Questions? ● Repeat Step 1 This is a shortened version of the talk I normally give, feel free to contact me offline for a deeper dive. Agenda
  • 3. $ > whoami Brandon Gulla Distributed DevOps Engineer [email protected] github/bgulla
  • 4. Mesosphere ● Commercial company supporting Apache Mesos based in SF and Hamburg, Germany. ● Founded by the Apache Mesos Founder Ben Hindman, Former AirBnB CTO Tobi Knapp and previous Twitter Engineer Florian Leibert. ● Provides full stack Mesos solutions running Apache Mesos as well as their corporate product: DCOS (Datacenter Operating System). ● Keith McClellan will be presenting a demo as soon as you’re tired of me.
  • 6. ● Servers, Memory and Disks have gotten cheaper so we buy more. These often go under-utilized. ● Traditionally, clusters have been provisioned statically. ● Puppet, SaltStack, Ansible, **pdsh** :( ● Not Multi-tenant friendly. ● DevOps Nightmare!!! ● Doesn’t Scale :( “Just Network them together!”
  • 7. Personal Gateway To Mesos ● Customer had a 100+ node Hadoop cluster with legacy dependency requirements. ● Wanted to utilize current MapReduce libraries without breaking ingest requirements. ● More importantly: Customer wanted a way to manage their resources on demand...
  • 9. ● Open-source two-level Resource Manager. ● Written in C++ wrapping around libprocess. ● Scalable - Runs on 10,000s of servers. ● Fault-Tolerant! Multiple masters. Load Balancing! ● Solve Bigger Problems. ● I/O Isolation via Linux cgroups. ● Distributed Resource Manager: ● RAM ● Disks ● Ports ● GPUs ● Network (Yes- Software Defined Networking) Welcome to Apache Mesos
  • 10. Mesos: Turn Your Datacenter into One Large Computer ● Where did we install MySQL? Who cares! Mesos + Service Discovery = Dynamic Awesomeness. ● Separates dependencies between Ops and Development. Ops wants to take a rack down, who cares, just move the processes from that rack somewhere else. Ops can do this as part of their work. Developers shouldn't know/care. ● Fault Tolerant, if something dies, Mesos will automatically spin another one up.
  • 12. Shared Resources = Multi-Tenancy
  • 15. Resource Offers and Launching A Task
  • 16. Writing your own Mesos Framework ● Feature Complete API using: ● JVM Languages (Java, Scala, Groovy) ● C++ ● Python ● Go ● Write a framework in minutes using Mesos- Compose. ● YML interface ● Similar to Docker-Compose ● Unit Testing with Mini-Mesos
  • 17. Don’t want to write your own Mesos Framework? No problemo, Amigo.
  • 18. 0 to Mesos in seconds with Marathon.
  • 19. Containers: VMs but awesomer. ● Shares Kernel with Host (no hypervisor) ● Boots in milliseconds. ● Portable. docker pull python:27 ● Run CentOS on Debian, Run Gentoo on Alpine. ● Dependency Friendly
  • 20. ● If you’re replacing a once statically installed, non-distributed application: Use Marathon. ● Apache, Nginx, Jenkins..etc ● If your application requires fine grain control and orchestration of tasks: Write your own Framework. ● Apache Accumulo ● Hadoop Yarn (Shameless Apache Myriad Plug) ● Spark Framework Development: My Experiences
  • 21. Mesos in the Wild ● Netflix: Mantis+Fenzo ● Apple: Jarvis (Siri) ● Microsoft Azure Container Service.
  • 22. Mesos: Full Stack Replacement Current Mesos Equivalent Systemd Marathon Cron Chronos DNS Mesos-DNS Chroot / BSD Jail Docker NFS Gluster, CEF, HDFS
  • 26. Demo Time To Infinity and Beyond.