Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
SCALING LIKE
TWITTER WITH
APACHE MESOS
3 TENETS
CLEAN
Now
NO MORE Now
3AM WAKE
- Mesos and Marathon
monitor running tasks.
UPS
- If a task fails or is lost (due
Before to a machine going offline),
Mesos communicates that
- Dan had to react every time
to Marathon.
an application or machine
went down.
- Marathon restarts the
application.
EASY Now
PROGRAMMATIC - Dan provides Alice with her
DEPLOYMENT own instance of Marathon
that makes it hard for her
Before
to take down someone
- Servers were handcrafted. else’s application.
LAYER OF ABSTRACTION
It handles:
Aggregating resources and offering them to schedulers
Launching tasks (i.e. processes) on those resources
Communicating the state of those tasks back to schedulers
Government Agencies
ARCHITECTURE
ARCHITECTURE
ARCHITECTURE
ARCHITECTURE
ARCHITECTURE
ARCHITECTURE
time
time
time
WHAT IS MARATHON?
WHAT IS MARATHON?
Application versioning
Rolling deploy / restart
Deployment strategies
Application versioning
Hot/hot new/old clusters
Authentic scale testing
Manual *and* automated testing
TASK FAILURE
SERVICE DISCOVERY
MESOS-DNS
● No extra configuration
required!
MARATHON-LB
● Regenerates HAProxy
configuration.
● Must add
HAPROXY_GROUP and
HAPROXY_0_VHOST
variables to your
marathon.json.
Visit http://mesosphere.com
Hit the ‘Get Started’ button
THE
DATACENTER
KERNEL
Mesosphere
DCOS
Existing
Infrastructure
Jenkins on Mesos allows you to share build resources between multiple Jenkins
masters.
KUBERNETES ON MESOS
KUBERNETES ON MESOS
Mesos was built for and is great for running big data workloads:
Chronos (time scheduled jobs)
Spark
Cassandra
Kafka
Hadoop/YARN (via Myriad)
60