SlideShare a Scribd company logo
1 of 17
Apache Mesos
Apache mesos
Apache Mesos is an open-source cluster manager that was developed at
the University of California, Berkeley. It "provides efficient resource isolation and
sharing across distributed applications, or frameworks". The software enables
resource sharing in a fine-grained manner, improving cluster utilization.
Since being developed at UC Berkeley, it has been adopted by several large
software companies, including Twitter, Airbnb and Apple. At least 50 organizations
currently use Mesos.[
What is Apache
mesos ?
As said Apache mesos is scheduler capable of handling multiple
resources, provides efficient resource isolation and sharing across
distributed applications, or frameworks. The software enables resource
sharing in a fine-grained manner, improving cluster utilization. In a
distributed environment, Mesos runs on every machine.
You put Mesos in charge of a bunch of machines. Then you can run
"applications". Hadoop, Spark, graph processing, machine learning. All
applications will "ask" for resources. Mesos gives resources and keeps the
accounting.Not all applications need to allocate resources the same way.
Schedulers know what their client applications want as resources and
lifecycle and can ask Mesos.
Why Apache
mesos ?
Mesos offers huge benefits to both developers and operators. The ability of
Mesos to consolidate various frameworks on a common infrastructure not only
saves on infrastructure costs, but also provides operational benefits to the Ops
teams and simplifies developers' view of the infrastructure, ultimately leading
to business success. Here are some of the reasons for organizations to embrace
Mesos:
 Scalability to thousands of nodes
Dynamic resource sharing through Mesos drives higher utilization and
throughput
Fault-tolerant replicated master using ZooKeeper
Frameworks can be built on Java/Python/Scala/C/C++
Isolation between tasks with Linux containers
Web UI for viewing cluster state
Components
Apache mesos is a fault-tolerant cluster manager. It’s designed for distributed
computing environments to provide resource isolation and management across a cluster of slave nodes.
A Mesos cluster is made up of four major components:
1.ZooKeepers
2.Mesos masters
3.Mesos slaves
4.Frameworks
Components
1.ZooKeeper
Apache ZooKeeper is a centralized configuration manager, used by distributed applications such
as Mesos to coordinate activity across a cluster. Mesos uses ZooKeeper to elect a leading master
and for slaves to join the cluster.
2.Mesos masters
A Mesos master is a Mesos instance in control of the cluster.
A cluster will typically have multiple Mesos masters to provide fault-tolerance, with one instance
elected the leading master.
Components
3.Mesos slaves
A Mesos slave is a Mesos instance which offers resources to the cluster. They are the ‘worker’ instances - tasks are
allocated to the slaves by the Mesos master.
4.Frameworks
On its own, Mesos only provides the basic “kernel” layer of your cluster. It lets other applications request
resources in the cluster to perform tasks, but does nothing itself. Frameworks bridge the gap between the Mesos
layer and your applications. They are higher level abstractions which simplify the process of launching tasks on
the cluster.
Components:
Scheduler: Receives resource offers and Launch tasks
Executor: Executor is launched by the slave to execute tasks on the slave
Mesos Architecture
Mesos architecture consists of a Mesos Master that manages Mesos Slaves and frameworks that run tasks on
Mesos Slaves. Master is in soft state with one or more stand-by managed by ZooKeeper to implement the
failover mechanism.
A framework is an application running on top of Mesos. A Mesos framework normally uses Mesos APIs (C++,
Python, Ruby, JVM, Go) exposed by Mesos kernel. Using these APIs a framework interacts with Mesos Master
to accept and register the resources allocation on Mesos Slaves.
A framework consists of two key components,
a scheduler accepts and registers resources from master, and
an executor is a process launched on slave nodes to run the framework’s tasks.
Some frameworks distributed in nature such as Hadoop, Spark, etc. Distributed frameworks normally employ
distributed executors.
Running the task
Step 1:- Slave 1 reports to the master that it has 4 CPUs and 4 GB of memory free. The master
then invokes the allocation module, which tells it that framework 1 should be offered all
available resources.
Step 2:- The master sends a resource offer describing these resources to framework 1.
Step 3:- The framework's scheduler replies to the master with information about two tasks to
run on the slave, using 2 CPUs; 1 GB RAM for the first task, and 1 CPUs; 2 GB RAM for the second
task.
Step 4:- Finally, the master sends the tasks to the slave, which allocates appropriate resources to
the framework's executor, which in turn launches the two tasks (depicted with dotted borders).
Because 1 CPU and 1 GB of RAM are still free, the allocation module may now offer them to
framework 2. In addition, this resource offer process repeats when tasks finish and new
resources become free.
Excecution flow
slave notifies master about its available resources
tasks is scheduled by the scheduler. So scheduler have info about available tasks
Scheduler sends the tasks to the right slave based on the available resources of the slave
Slave check of executor that is already running,if not it launches a new one and execute the
task on the executor
Mesos allows you to share a pool of servers that can all run different
parts of your application without them interfering with each other and
with the ability to dynamically allocate resources across the cluster as
needed.
Containerizer
Containerizers are intended to run tasks in ‘containers’ which in turn are
used to:
Isolate a task from other running tasks.
‘Contain’ tasks to run in limited resource runtime environment.
Control task’s individual resources (e.g, CPU, memory) programatically.
Run software in a pre-packaged file system image, allowing it to run in
different environments.
Composing containerizer
Allows multiple container technologies to play together. It is
enabled when you configure the --containerizers=cont1,cont2,.. The order
of the comma separated list is important as the first containerizer that
supports the task’s container configuration will be used to launch the task.
Eg:- --containerizers=mesos,docker
Use cases:
For testing tasks with different types of resource isolations.
Docker containerizer
Docker containerizer allows tasks to be run inside docker container. This containerizer is enabled when you configure the
agent flag as --containerizers=docker
Use cases:
•If task needs to be run with the tooling that comes with the docker package.
•If Mesos agent is running inside a docker container.
Mesos containerizer
This containerizer allows tasks to be run with an array of pluggable isolators provided by Mesos. This is the native Mesos
containerizer
solution and is enabled when you configure the agent flag as --containerizers=mesos,docker
Use cases:
•Allow Mesos to control the task’s runtime environment without depending on other container technologies (e.g., docker).
•Want fine grained operating system controls (e.g., cgroups/namespaces provided by linux).
•Want Mesos’s latest container technology features.
•Need additional resource controls like disk usage limits, which might not be provided by other container technologies.
•Want to add custom isolation for tasks.
In a simpler way…..
Imagine a busy airport. Airplanes are constantly taking off and landing.
There are multiple runways, and an airport dispatcher is assigning time-slots to airplanes to land
or takeoff. So Mesos is the airport dispatcher, runways are compute nodes, airplanes are
compute tasks, and frameworks like Hadoop, Spark and Google Kubernetes are airlines
companies.

More Related Content

What's hot

CloudMan workshop
CloudMan workshopCloudMan workshop
CloudMan workshopEnis Afgan
 
DockerCon14 Cluster Management and Containerization
DockerCon14 Cluster Management and ContainerizationDockerCon14 Cluster Management and Containerization
DockerCon14 Cluster Management and ContainerizationDocker, Inc.
 
Spring 3.1 in a Nutshell - JAX London 2011
Spring 3.1 in a Nutshell - JAX London 2011Spring 3.1 in a Nutshell - JAX London 2011
Spring 3.1 in a Nutshell - JAX London 2011Sam Brannen
 
Scripts Python Dbapi
Scripts Python DbapiScripts Python Dbapi
Scripts Python DbapiAkramWaseem
 
Docker Java App with MariaDB – Deployment in Less than a Minute
Docker Java App with MariaDB – Deployment in Less than a MinuteDocker Java App with MariaDB – Deployment in Less than a Minute
Docker Java App with MariaDB – Deployment in Less than a Minutedchq
 
Using Containers for Building and Testing: Docker, Kubernetes and Mesos. FOSD...
Using Containers for Building and Testing: Docker, Kubernetes and Mesos. FOSD...Using Containers for Building and Testing: Docker, Kubernetes and Mesos. FOSD...
Using Containers for Building and Testing: Docker, Kubernetes and Mesos. FOSD...Carlos Sanchez
 
ZooKeeper Partitioning - A project report
ZooKeeper Partitioning - A project reportZooKeeper Partitioning - A project report
ZooKeeper Partitioning - A project reportpramodbiligiri
 
Building the TribefireOperator
Building the TribefireOperatorBuilding the TribefireOperator
Building the TribefireOperatorOliver Moser
 
Orchestrating Redis & K8s Operators
Orchestrating Redis & K8s OperatorsOrchestrating Redis & K8s Operators
Orchestrating Redis & K8s OperatorsDoiT International
 
Download presentation
Download presentationDownload presentation
Download presentationwebhostingguy
 
mysql replication
mysql replicationmysql replication
mysql replicationblus4uuu
 

What's hot (17)

CloudMan workshop
CloudMan workshopCloudMan workshop
CloudMan workshop
 
DockerCon14 Cluster Management and Containerization
DockerCon14 Cluster Management and ContainerizationDockerCon14 Cluster Management and Containerization
DockerCon14 Cluster Management and Containerization
 
241 Pdfsam
241 Pdfsam241 Pdfsam
241 Pdfsam
 
Spring 3.1 in a Nutshell - JAX London 2011
Spring 3.1 in a Nutshell - JAX London 2011Spring 3.1 in a Nutshell - JAX London 2011
Spring 3.1 in a Nutshell - JAX London 2011
 
61 Rac
61 Rac61 Rac
61 Rac
 
21 Rac
21 Rac21 Rac
21 Rac
 
Scripts Python Dbapi
Scripts Python DbapiScripts Python Dbapi
Scripts Python Dbapi
 
Docker Java App with MariaDB – Deployment in Less than a Minute
Docker Java App with MariaDB – Deployment in Less than a MinuteDocker Java App with MariaDB – Deployment in Less than a Minute
Docker Java App with MariaDB – Deployment in Less than a Minute
 
Using Containers for Building and Testing: Docker, Kubernetes and Mesos. FOSD...
Using Containers for Building and Testing: Docker, Kubernetes and Mesos. FOSD...Using Containers for Building and Testing: Docker, Kubernetes and Mesos. FOSD...
Using Containers for Building and Testing: Docker, Kubernetes and Mesos. FOSD...
 
TechBeats #2
TechBeats #2TechBeats #2
TechBeats #2
 
ZooKeeper Partitioning - A project report
ZooKeeper Partitioning - A project reportZooKeeper Partitioning - A project report
ZooKeeper Partitioning - A project report
 
Building the TribefireOperator
Building the TribefireOperatorBuilding the TribefireOperator
Building the TribefireOperator
 
Orchestrating Redis & K8s Operators
Orchestrating Redis & K8s OperatorsOrchestrating Redis & K8s Operators
Orchestrating Redis & K8s Operators
 
Download presentation
Download presentationDownload presentation
Download presentation
 
mysql replication
mysql replicationmysql replication
mysql replication
 
41 Pdfsam
41 Pdfsam41 Pdfsam
41 Pdfsam
 
141 Pdfsam
141 Pdfsam141 Pdfsam
141 Pdfsam
 

Viewers also liked

Building and Deploying Application to Apache Mesos
Building and Deploying Application to Apache MesosBuilding and Deploying Application to Apache Mesos
Building and Deploying Application to Apache MesosJoe Stein
 
Antczak mariola 2014
Antczak mariola 2014Antczak mariola 2014
Antczak mariola 2014konfkbin
 
Russkikh ekaterina
Russkikh ekaterinaRusskikh ekaterina
Russkikh ekaterinakonfkbin
 
Anna Krawczyk
Anna KrawczykAnna Krawczyk
Anna Krawczykkonfkbin
 
SCM Educational Breakfast Seminar Market Update Presentation 11-01-2014
SCM Educational Breakfast Seminar Market Update Presentation 11-01-2014SCM Educational Breakfast Seminar Market Update Presentation 11-01-2014
SCM Educational Breakfast Seminar Market Update Presentation 11-01-2014rachaelbator
 
Thao rửa bể nước
Thao rửa bể nướcThao rửa bể nước
Thao rửa bể nướcmuadongret
 
DoMORE Winter 2016
DoMORE Winter 2016DoMORE Winter 2016
DoMORE Winter 2016Ryan Johnson
 
App Developers NY
App Developers NYApp Developers NY
App Developers NYSeo Seek
 
Sosial media network word 1
Sosial media network word 1Sosial media network word 1
Sosial media network word 1yandiistiyono
 
[Igaworks] realtime communication solution jiver
[Igaworks] realtime communication solution jiver[Igaworks] realtime communication solution jiver
[Igaworks] realtime communication solution jiver성인 김
 
Muzeum ksiazki dzieciecej
Muzeum ksiazki dzieciecejMuzeum ksiazki dzieciecej
Muzeum ksiazki dzieciecejkonfkbin
 

Viewers also liked (15)

Building and Deploying Application to Apache Mesos
Building and Deploying Application to Apache MesosBuilding and Deploying Application to Apache Mesos
Building and Deploying Application to Apache Mesos
 
Primera clase
Primera clasePrimera clase
Primera clase
 
Antczak mariola 2014
Antczak mariola 2014Antczak mariola 2014
Antczak mariola 2014
 
Russkikh ekaterina
Russkikh ekaterinaRusskikh ekaterina
Russkikh ekaterina
 
Anna Krawczyk
Anna KrawczykAnna Krawczyk
Anna Krawczyk
 
SCM Educational Breakfast Seminar Market Update Presentation 11-01-2014
SCM Educational Breakfast Seminar Market Update Presentation 11-01-2014SCM Educational Breakfast Seminar Market Update Presentation 11-01-2014
SCM Educational Breakfast Seminar Market Update Presentation 11-01-2014
 
Thao rửa bể nước
Thao rửa bể nướcThao rửa bể nước
Thao rửa bể nước
 
DoMORE Winter 2016
DoMORE Winter 2016DoMORE Winter 2016
DoMORE Winter 2016
 
App Developers NY
App Developers NYApp Developers NY
App Developers NY
 
Sosial media network word 1
Sosial media network word 1Sosial media network word 1
Sosial media network word 1
 
[Igaworks] realtime communication solution jiver
[Igaworks] realtime communication solution jiver[Igaworks] realtime communication solution jiver
[Igaworks] realtime communication solution jiver
 
Abc
AbcAbc
Abc
 
Yahoo
YahooYahoo
Yahoo
 
Regalos navidad
Regalos navidad Regalos navidad
Regalos navidad
 
Muzeum ksiazki dzieciecej
Muzeum ksiazki dzieciecejMuzeum ksiazki dzieciecej
Muzeum ksiazki dzieciecej
 

Similar to Apache mesos - overview

Mesos: Cluster Management System
Mesos: Cluster Management SystemMesos: Cluster Management System
Mesos: Cluster Management SystemErhan Bagdemir
 
A Travel Through Mesos
A Travel Through MesosA Travel Through Mesos
A Travel Through MesosDatio Big Data
 
Introduction to mesos
Introduction to mesosIntroduction to mesos
Introduction to mesosOmid Vahdaty
 
Making Distributed Data Persistent Services Elastic (Without Losing All Your ...
Making Distributed Data Persistent Services Elastic (Without Losing All Your ...Making Distributed Data Persistent Services Elastic (Without Losing All Your ...
Making Distributed Data Persistent Services Elastic (Without Losing All Your ...Joe Stein
 
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
 
Mesos study report 03v1.2
Mesos study report  03v1.2Mesos study report  03v1.2
Mesos study report 03v1.2Stefanie Zhao
 
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
 
Spark on Mesos-A Deep Dive-(Dean Wampler and Tim Chen, Typesafe and Mesosphere)
Spark on Mesos-A Deep Dive-(Dean Wampler and Tim Chen, Typesafe and Mesosphere)Spark on Mesos-A Deep Dive-(Dean Wampler and Tim Chen, Typesafe and Mesosphere)
Spark on Mesos-A Deep Dive-(Dean Wampler and Tim Chen, Typesafe and Mesosphere)Spark Summit
 
DC/OS: The definitive platform for modern apps
DC/OS: The definitive platform for modern appsDC/OS: The definitive platform for modern apps
DC/OS: The definitive platform for modern appsDatio Big Data
 
Mesos vs kubernetes comparison
Mesos vs kubernetes comparisonMesos vs kubernetes comparison
Mesos vs kubernetes comparisonKrishna-Kumar
 
Introducing Apache Mesos
Introducing Apache MesosIntroducing Apache Mesos
Introducing Apache MesosMatthias Furrer
 
Containerized Data Persistence on Mesos
Containerized Data Persistence on MesosContainerized Data Persistence on Mesos
Containerized Data Persistence on MesosJoe Stein
 
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
 
Containerization - The DevOps Revolution
Containerization - The DevOps RevolutionContainerization - The DevOps Revolution
Containerization - The DevOps RevolutionYulian Slobodyan
 
Apache Mesos: a simple explanation of basics
Apache Mesos: a simple explanation of basicsApache Mesos: a simple explanation of basics
Apache Mesos: a simple explanation of basicsGladson Manuel
 

Similar to Apache mesos - overview (20)

Apache Mesos
Apache MesosApache Mesos
Apache Mesos
 
Mesos: Cluster Management System
Mesos: Cluster Management SystemMesos: Cluster Management System
Mesos: Cluster Management System
 
Mesos sys adminday
Mesos sys admindayMesos sys adminday
Mesos sys adminday
 
A Travel Through Mesos
A Travel Through MesosA Travel Through Mesos
A Travel Through Mesos
 
Introduction to mesos
Introduction to mesosIntroduction to mesos
Introduction to mesos
 
Making Distributed Data Persistent Services Elastic (Without Losing All Your ...
Making Distributed Data Persistent Services Elastic (Without Losing All Your ...Making Distributed Data Persistent Services Elastic (Without Losing All Your ...
Making Distributed Data Persistent Services Elastic (Without Losing All Your ...
 
Apache mesos
Apache mesosApache mesos
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 System
 
Mesos study report 03v1.2
Mesos study report  03v1.2Mesos study report  03v1.2
Mesos study report 03v1.2
 
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
 
Spark on Mesos-A Deep Dive-(Dean Wampler and Tim Chen, Typesafe and Mesosphere)
Spark on Mesos-A Deep Dive-(Dean Wampler and Tim Chen, Typesafe and Mesosphere)Spark on Mesos-A Deep Dive-(Dean Wampler and Tim Chen, Typesafe and Mesosphere)
Spark on Mesos-A Deep Dive-(Dean Wampler and Tim Chen, Typesafe and Mesosphere)
 
DC/OS: The definitive platform for modern apps
DC/OS: The definitive platform for modern appsDC/OS: The definitive platform for modern apps
DC/OS: The definitive platform for modern apps
 
Mesos vs kubernetes comparison
Mesos vs kubernetes comparisonMesos vs kubernetes comparison
Mesos vs kubernetes comparison
 
Running Spark on Mesos
Running Spark on MesosRunning Spark on Mesos
Running Spark on Mesos
 
Introducing Apache Mesos
Introducing Apache MesosIntroducing Apache Mesos
Introducing Apache Mesos
 
Containerized Data Persistence on Mesos
Containerized Data Persistence on MesosContainerized Data Persistence on Mesos
Containerized Data Persistence on Mesos
 
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 | ...
 
Containerization - The DevOps Revolution
Containerization - The DevOps RevolutionContainerization - The DevOps Revolution
Containerization - The DevOps Revolution
 
Apache Mesos: a simple explanation of basics
Apache Mesos: a simple explanation of basicsApache Mesos: a simple explanation of basics
Apache Mesos: a simple explanation of basics
 
Mesos introduction
Mesos introductionMesos introduction
Mesos introduction
 

Recently uploaded

代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改atducpo
 
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service LucknowAminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknowmakika9823
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...soniya singh
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptxthyngster
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystSamantha Rae Coolbeth
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxEmmanuel Dauda
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSAishani27
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiSuhani Kapoor
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Sapana Sha
 
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...Suhani Kapoor
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...Suhani Kapoor
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfMarinCaroMartnezBerg
 
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...shivangimorya083
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfSocial Samosa
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...dajasot375
 

Recently uploaded (20)

代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
 
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service LucknowAminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data Analyst
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptx
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICS
 
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
 
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
 
Decoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in ActionDecoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in Action
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
 

Apache mesos - overview

  • 2. Apache mesos Apache Mesos is an open-source cluster manager that was developed at the University of California, Berkeley. It "provides efficient resource isolation and sharing across distributed applications, or frameworks". The software enables resource sharing in a fine-grained manner, improving cluster utilization. Since being developed at UC Berkeley, it has been adopted by several large software companies, including Twitter, Airbnb and Apple. At least 50 organizations currently use Mesos.[
  • 3. What is Apache mesos ? As said Apache mesos is scheduler capable of handling multiple resources, provides efficient resource isolation and sharing across distributed applications, or frameworks. The software enables resource sharing in a fine-grained manner, improving cluster utilization. In a distributed environment, Mesos runs on every machine. You put Mesos in charge of a bunch of machines. Then you can run "applications". Hadoop, Spark, graph processing, machine learning. All applications will "ask" for resources. Mesos gives resources and keeps the accounting.Not all applications need to allocate resources the same way. Schedulers know what their client applications want as resources and lifecycle and can ask Mesos.
  • 4.
  • 5. Why Apache mesos ? Mesos offers huge benefits to both developers and operators. The ability of Mesos to consolidate various frameworks on a common infrastructure not only saves on infrastructure costs, but also provides operational benefits to the Ops teams and simplifies developers' view of the infrastructure, ultimately leading to business success. Here are some of the reasons for organizations to embrace Mesos:  Scalability to thousands of nodes Dynamic resource sharing through Mesos drives higher utilization and throughput Fault-tolerant replicated master using ZooKeeper Frameworks can be built on Java/Python/Scala/C/C++ Isolation between tasks with Linux containers Web UI for viewing cluster state
  • 6. Components Apache mesos is a fault-tolerant cluster manager. It’s designed for distributed computing environments to provide resource isolation and management across a cluster of slave nodes. A Mesos cluster is made up of four major components: 1.ZooKeepers 2.Mesos masters 3.Mesos slaves 4.Frameworks
  • 7. Components 1.ZooKeeper Apache ZooKeeper is a centralized configuration manager, used by distributed applications such as Mesos to coordinate activity across a cluster. Mesos uses ZooKeeper to elect a leading master and for slaves to join the cluster. 2.Mesos masters A Mesos master is a Mesos instance in control of the cluster. A cluster will typically have multiple Mesos masters to provide fault-tolerance, with one instance elected the leading master.
  • 8. Components 3.Mesos slaves A Mesos slave is a Mesos instance which offers resources to the cluster. They are the ‘worker’ instances - tasks are allocated to the slaves by the Mesos master. 4.Frameworks On its own, Mesos only provides the basic “kernel” layer of your cluster. It lets other applications request resources in the cluster to perform tasks, but does nothing itself. Frameworks bridge the gap between the Mesos layer and your applications. They are higher level abstractions which simplify the process of launching tasks on the cluster. Components: Scheduler: Receives resource offers and Launch tasks Executor: Executor is launched by the slave to execute tasks on the slave
  • 9. Mesos Architecture Mesos architecture consists of a Mesos Master that manages Mesos Slaves and frameworks that run tasks on Mesos Slaves. Master is in soft state with one or more stand-by managed by ZooKeeper to implement the failover mechanism. A framework is an application running on top of Mesos. A Mesos framework normally uses Mesos APIs (C++, Python, Ruby, JVM, Go) exposed by Mesos kernel. Using these APIs a framework interacts with Mesos Master to accept and register the resources allocation on Mesos Slaves. A framework consists of two key components, a scheduler accepts and registers resources from master, and an executor is a process launched on slave nodes to run the framework’s tasks. Some frameworks distributed in nature such as Hadoop, Spark, etc. Distributed frameworks normally employ distributed executors.
  • 10.
  • 11. Running the task Step 1:- Slave 1 reports to the master that it has 4 CPUs and 4 GB of memory free. The master then invokes the allocation module, which tells it that framework 1 should be offered all available resources. Step 2:- The master sends a resource offer describing these resources to framework 1. Step 3:- The framework's scheduler replies to the master with information about two tasks to run on the slave, using 2 CPUs; 1 GB RAM for the first task, and 1 CPUs; 2 GB RAM for the second task. Step 4:- Finally, the master sends the tasks to the slave, which allocates appropriate resources to the framework's executor, which in turn launches the two tasks (depicted with dotted borders). Because 1 CPU and 1 GB of RAM are still free, the allocation module may now offer them to framework 2. In addition, this resource offer process repeats when tasks finish and new resources become free.
  • 12.
  • 13. Excecution flow slave notifies master about its available resources tasks is scheduled by the scheduler. So scheduler have info about available tasks Scheduler sends the tasks to the right slave based on the available resources of the slave Slave check of executor that is already running,if not it launches a new one and execute the task on the executor
  • 14. Mesos allows you to share a pool of servers that can all run different parts of your application without them interfering with each other and with the ability to dynamically allocate resources across the cluster as needed.
  • 15. Containerizer Containerizers are intended to run tasks in ‘containers’ which in turn are used to: Isolate a task from other running tasks. ‘Contain’ tasks to run in limited resource runtime environment. Control task’s individual resources (e.g, CPU, memory) programatically. Run software in a pre-packaged file system image, allowing it to run in different environments. Composing containerizer Allows multiple container technologies to play together. It is enabled when you configure the --containerizers=cont1,cont2,.. The order of the comma separated list is important as the first containerizer that supports the task’s container configuration will be used to launch the task. Eg:- --containerizers=mesos,docker Use cases: For testing tasks with different types of resource isolations.
  • 16. Docker containerizer Docker containerizer allows tasks to be run inside docker container. This containerizer is enabled when you configure the agent flag as --containerizers=docker Use cases: •If task needs to be run with the tooling that comes with the docker package. •If Mesos agent is running inside a docker container. Mesos containerizer This containerizer allows tasks to be run with an array of pluggable isolators provided by Mesos. This is the native Mesos containerizer solution and is enabled when you configure the agent flag as --containerizers=mesos,docker Use cases: •Allow Mesos to control the task’s runtime environment without depending on other container technologies (e.g., docker). •Want fine grained operating system controls (e.g., cgroups/namespaces provided by linux). •Want Mesos’s latest container technology features. •Need additional resource controls like disk usage limits, which might not be provided by other container technologies. •Want to add custom isolation for tasks.
  • 17. In a simpler way….. Imagine a busy airport. Airplanes are constantly taking off and landing. There are multiple runways, and an airport dispatcher is assigning time-slots to airplanes to land or takeoff. So Mesos is the airport dispatcher, runways are compute nodes, airplanes are compute tasks, and frameworks like Hadoop, Spark and Google Kubernetes are airlines companies.