Mesos (CC, Resource Management) Flashcards

(5 cards)

1
Q

Background (Mesos)?
(Share the same cluster, improving utilization - avoid data replication)

A

Mesos is an open-source platform for cluster management. It was developed as a research project at the University of California, Berkeley, and is now owned by Apache.

It allows different frameworks, such as Hadoop and MapReduce, to share the same cluster, improving cluster utilization and avoiding data replication.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Problem (Mesos)?

A
  • There were a large number of cluster computing frameworks available, but resource sharing across frameworks was not possible.
  • Each framework was developed independently, making optimal sharing of data and cluster resources difficult.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Solution (Mesos)?

A
  • Mesos shares resources in a fine-grained manner across frameworks, using a decentralized approach.
  • It delegates control of scheduling to the frameworks.
  • Mesos decides how many resources to offer to each framework, and the framework decides which resources to accept and which tasks to run on them
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Applications/Uses (Mesos)?

A
  • Mesos is used by companies like Apple, Netflix, and eBay.
  • Apple rewrote Siri in 2015 to be deployed on Mesos.
  • Netflix used Mesos to ensure efficient resource allocation in their microservice-based architecture
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Strengths and Weaknesses (Mesos)?
(Data locality, Scabable, able to run multiple frameworks of the same framework)
(the paper focused on short tasks - not representative of all workloads, no authentication by default, no fault tolerance for node and scheduler).

A

Advantages:
Mesos enables efficient utilization of resources by allowing multiple frameworks to run concurrently.

  • It improves data locality by allowing frameworks to take turns reading data stored on each machine.
  • Mesos is scalable and robust to failures.
  • It allows running multiple instances of the same framework.

Weaknesses:
- The original Mesos paper (2011) focused on short tasks, which may not be representative of all workloads.
I
- t weakly incentivizes the use of short tasks.

  • Security: Mesos does not provide authentication by default.
  • Fault Tolerance is not implemented: Users must implement fault tolerance for node, scheduler, and executor failures
How well did you know this?
1
Not at all
2
3
4
5
Perfectly