Professional Documents
Culture Documents
Apache Mesos
Apache Mesos
Apache Mesos
• Cross platform.
• Meta scheduler
ARCHITECTURE –
FEATURES
Scales to over 50,000 nodes
Fault Tolerance
Multi Latency
Flexibility
High availability via Zookeeper
Resource Isolation using Docker containers or Linux cgroups
A Master / Slave based system
Web UI for monitoring cluster states
INTRODUCTI
ON
INTRODUCTI
ON
INTRODUCTI
ON
ARCHITECTURE –
OVERVIEW
INTRODUCTI
ON
ARCHITECTURE OVERVIEW
FRAMEWORK
SERVICE SCHEDULING AND FRAMEWORK MANAGEMENT
BIG DATA FRAMEWORKS
FRAMEWORK
S
Chronos
– Distributed, fully fault-tolerant fob scheduler. Can interact with systems even if the Mesos
worker machine does not have the system installed.
Apache Aurora
– Manages long-running services, cron jobs, and ad-hoc jobs.
Consul
– Service Discovery and orchestration
FRAMEWORK
S
Apache Spark
- Execution engine for large-scale data processing.
Apache Storm
- Real-time distributed stream event-processing engine.
Apache Cassandra
- Open source scalable NoSQL database.
Provides query language Cassandra Query Language or CQL to communicate with database.
COMPONENTS
ZOOKEPER
MARATHON
COMPONENT
S
APACHE ZOOKEEPER
A centralized service for maintaining configuration information, naming, providing distributed
synchronization, and providing group services.
Independent project
APACHE ZOOKEEPER
High Availability
One Leader
Two or more followers
Quorum
Note: A minimum of 3 servers are required to cater for any node failure.
COMPONENT
S
APACHE ZOOKEEPER
High Availability
Hierarchical Namespace
Z-Nodes
Nodes identified by Path
Ephemeral Nodes
Leader Election
Conditional updates and watches
Atomic Transactions
Takes hand in everywhere Mesos needs to store and call up distributed dynamic information
- Service Locations
- Service States
- Client Notification
- Leader election for Mesos Masters and Frameworks (e.g. Marathon)
COMPONENT
S
MARATHON
An Apache Mesos framework for container orchestration
- designed for long-running and stateful apps
A meta framework
- Used for managing other Mesos Frameworks (Chronos, Storm,
…)
Container Support
- Mesos Containers (default)
- Docker Constrainers (must be configured)meta-framework
COMPONENT
S
MARATHON
Features
- High Availability
- Constraints
- Health Checking
- Event Subscription
- Marathon UI
INSTALLATION
http://mesos.apache.org/gettingstarted
CONFIGURATION
http://mesos.apache.org/documentation/lates/configuration
CONFIGURATION
Requirements
Apache Mesos 1.1.1+
Apache Zookeeper
JDK 1.8+
Default JVM set to Java 8
Installation
https://mesosphere.github.io/marathon/docs/
Download/unpack Kit (tar)
Platform Use & HA Container Ease of Use & Communit Bare Metal Support for
Compatibility with Capabilit Orchestration Setup Cost y Support & Hypervisor
COMPARISON TABLE
Database Service y /Ecosystem Setup s
Apache Large-scale distributed High Built-in support Auto-scalable Large, active, Yes, LOW
apps, resource integrates with (Medium), extensive Medium
Mesos abstraction Kubernetes, Docker flexible,
Swarm, Apache Aurora User-friendly
High
HIGH
AppScale Run Google App Engine High NOT primarily focused Auto-scalable Large, active Yes, Medium
apps on any on container (High), flexible, Medium
infrastructure orchestration User-friendly