7. An Introduction to Apache Mesos
● 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
● Twitter, Airbnb, Apple and over 50 organizations use
Mesos.
https://en.wikipedia.org/wiki/Apache_Mesos
8. Apache Mesos Features
● Scalability to 10,000s of nodes
● Fault-tolerant replicated master and slaves using ZooKeeper
● Support for Docker containers
● Native isolation between tasks with Linux Containers
● Multi-resource scheduling (memory, CPU, disk, and ports)
● Java, Python and C++ APIs for developing new parallel
applications
● Web UI for viewing cluster state
http://mesos.apache.org/
15. WSO2 Carbon Reference Architecture for
Mesos - 1
C1 C2 C3 C4 C5
Marathon Load
Balancer
Manager Marathon
Application
Worker Marathon
Application
Client
Gov
Reg
Conf
Reg
User
Store
Containers created
by Mesos tasks
16. WSO2 Carbon Reference Architecture for
Mesos - 2
C1 C2 C3
Client
C4 C5
Marathon Load
Balancer
C6 C7
Gateway
Mgr MA
Gateway
Worker MA
Key Manager
MA
Store MA
Gov
Reg
Conf
Reg
User
Store
API-M
DB
A volume mount for
synchronizing API
artifacts
C8 C9
Publisher
MA
17. Carbon Cluster Discovery on Mesos
C1 C2 Cn
Service
Server 1 Server 2 Server n
C1
Service
Server 1
C1 C2
Service
Server 1 Server 2
Hazelcast member
initialization
Hazelcast member
initialization
Hazelcast member
initialization
1 2 n