SlideShare a Scribd company logo
1 of 20
Mistral

Task Orchestration and Scheduling service
Task Orchestration and Scheduling service

•

Home: launchpad.net/mistral

•

Wiki: wiki.openstack.org/wiki/Mistral

•

IRC: #openstack-mistral

•

Me: Renat Akhmerov <
rakhmerov@mirantis.com>
Background
•

Realized by Murano team as a generic external
state machine with HA and scalability

•

Discussed with and supported by the authors of the
Convection proposal, Joshua Harlow and
TaskFlow team

•

Joshua, Thanks!
How is Mistral related to
TaskFlow & Convection
•

Mistral implements the Convection (Workflow
as a Service) and goes far beyond the initial ideas

•

TaskFlow library will be used for
implementation

•

TaskFlow library will have Mistral engine to
execute tasks over Mistral in a distributed manner
Mistral Mission
•

Build a Task Orchestration and Scheduling
service for OpenStack

•

Provide an easy and flexible mechanism for executing
workflows that consist of interrelated tasks in a cloud
environment

•

Help other OpenStack projects automate their
internal workflows

•

Provide HA and Scalability for task/workflow execution
Mistral Users
•

Infrastructure OpenStack developers : Nova,
Heat, Murano, Solum etc.

•

System administrators : to use capabilities like
Cloud Cron to be able to schedule helper cloudwide tasks (local VM processes, RESTful services,
creating/terminating VMs, etc.)

•

Enterprise application developers : automate
business processes consisting of multiple
distributed processing steps
Reasons to use Mistral
1. High Availability : ability to continue a workflow from the point it crashed at
2. Scalability: Mistral knows what parts of a workflow can be executed in parallel
3. Scheduling: workflows/tasks can be scheduled for periodical execution (e.g. every
Tuesday at 3 am)
4. Observable state: can always see the details of the current execution state and
history
5. Offloading dependency management : given what needs to be completed
Mistral executes whatever tasks needed for that
6. Additional integration points : a 3rd party application can hook into deployment
processes represented as Mistral workflows using events
7. Formalized task graphs are just easier to manage and understand : they
can be visualized, analyzed and optimized
Use Cases
•

Cloud Cron: a system administrator can schedule
cloud tasks for periodical execution

•

Cloud Environment Deployment : a deployment
tool or a system can represent deployment steps as
a Mistral workflow and use Heat for every step as a
software orchestration tool

•

Event Based Scheduling : e.g. Live Migration on
CPU 100% from Ceilometer
Cloud Cron
•

Single point of configuration
and control

•

Wide range of tasks : local
processes, RESTful services
etc.

•

Monitoring & Management

•

HA & Scalability
Cloud Environment
Deployment
•

Formalized deployment
workflow

•

Individual tasks use Heat to
install applications

•

Dependency Management
offloaded to Mistral

•

Multiple flows in parallel

•

Mistral provides HA and
scalability

•

No need to use locking
Event Based Scheduling
•

Live migration is an example

•

Workflow execution on
external events

•

Various event types

•

Various event sources
Key Mistral Features
•

Uploading custom graphs of tasks

•

Driven by simple DSL: YAML/JSON/XML

•

Task Scheduling: using UI or Cron patterns

•

Generic service: doesn’t do the actual work itself
and acts as an HA coordinator signaling to
workers about what needs to be done
Main Concepts
•

Task Graph - a set of related
tasks

•

Workflow - a subgraph involved
into one execution

•

Flow - a path that can be
processed independently

•

Target task - a task that needs to
get completed in a particular case

•

Action - a particular piece of work
associated with a task (signal)
DSL
# Tasks

# Actions

tasks:
Task1:
action: action1

actions:
action1:
transport: rest1

Task2:
action: action2

action2:
transport: amqp1

Task3:
requires: Task1, Task2
action: action3

action3:
transport: poll

# Transports
transports:
rest1:
type: REST
url: http://some.url
amqp1:
type: AMQP
host: my.host.org
port: 5672
routing-key: a_queue
…
poll:
type: POLL
Data Flow (Concept)

1. Select a subset of input
data
2. Process it
3. Merge it back in
4. Pass it on
5. Merge with parallel
branches
What about Mistral workers?
•

Core engine doesn’t start any workers

•

Workers are dynamic, configured in
DSL

•

Types of workers:
•
•
•

Client application nodes
REST services
Other processes accessible by AMQP, SSH
etc.

•

BUT!

•

Dedicated workers can be allocated
using toolsets created on top of Mistral
core engine
Can Mistral do anything
else?
•

Easy to build additional toolsets and frameworks

•

Potential capabilities include:
•

Domains (Namespaces)

•

Event subscription

•

Role Based Access Control

•

Task priorities

•

Task collocation

•

Language-oriented frameworks (Python, Java, etc.)

•

Plugin system to introduce new DSL keywords
Is Mistral similar to Amazon
Simple Workflow
•

In many ways Mistral is similar to Amazon SWF

•

Amazon SWF is oriented to language bindings
(Java, Ruby, Python)

•

Conceptual differences in underlying model

•

Mistral is targeting to be much simpler

•

Mistral may later have Amazon SWF adapter
Current Status
•

Documented all the core ideas and concepts

•

Prepared a draft of DSL/API specification

•

Planned the Roadmap

•

Started prototyping core ideas

•

Introduced at HK OpenStack design summit! :)
Roadmap
•

Nov 25th, 2013.
•

•

Dec 10th, 2013.
•

•

DSL v1.0 and API v1.0 implementation

Feb 20th, 2014. Release 0.2:
•

•

Mistral PoC: Basic task orchestration, DSL, API and Scheduling

Jan 20th, 2014. Release 0.1
•

•

DSL/API v1.0 specifications

Task engine HA & scalability, Web UI for monitoring & management

March 20th, 2014. Release 0.3:
•

Triggers (Cron, Events), Web UI for triggers (Cron, Events)
Thanks!
Q&A
Q&A
Q&A

More Related Content

What's hot

2019 hashiconf seattle_consul_ioc
2019 hashiconf seattle_consul_ioc2019 hashiconf seattle_consul_ioc
2019 hashiconf seattle_consul_iocPierre Souchay
 
2019 hashiconf consul-templaterb
2019 hashiconf consul-templaterb2019 hashiconf consul-templaterb
2019 hashiconf consul-templaterbPierre Souchay
 
VM Migration and Monitoring Software *SDLAB
VM Migration and Monitoring Software *SDLABVM Migration and Monitoring Software *SDLAB
VM Migration and Monitoring Software *SDLABChawanat Nakasan
 
Monitoring, the Prometheus Way - Julius Voltz, Prometheus
Monitoring, the Prometheus Way - Julius Voltz, Prometheus Monitoring, the Prometheus Way - Julius Voltz, Prometheus
Monitoring, the Prometheus Way - Julius Voltz, Prometheus Docker, Inc.
 
Puppet Camp Boston 2014: Keynote
Puppet Camp Boston 2014: Keynote Puppet Camp Boston 2014: Keynote
Puppet Camp Boston 2014: Keynote Puppet
 
Cloudify Open PaaS Stack for DevOps
Cloudify Open PaaS Stack for DevOps  Cloudify Open PaaS Stack for DevOps
Cloudify Open PaaS Stack for DevOps Nati Shalom
 
Monitoring kubernetes across data center and cloud
Monitoring kubernetes across data center and cloudMonitoring kubernetes across data center and cloud
Monitoring kubernetes across data center and cloudDatadog
 
Tabtale story: Building a publishing and monitoring mobile games architecture...
Tabtale story: Building a publishing and monitoring mobile games architecture...Tabtale story: Building a publishing and monitoring mobile games architecture...
Tabtale story: Building a publishing and monitoring mobile games architecture...Tikal Knowledge
 
2019 Lightning Talk: Discovery, Consul and Inversion of Control for the infr...
2019  Lightning Talk: Discovery, Consul and Inversion of Control for the infr...2019  Lightning Talk: Discovery, Consul and Inversion of Control for the infr...
2019 Lightning Talk: Discovery, Consul and Inversion of Control for the infr...Pierre Souchay
 
NetflixOSS and ZeroToDocker Talk
NetflixOSS and ZeroToDocker TalkNetflixOSS and ZeroToDocker Talk
NetflixOSS and ZeroToDocker Talkaspyker
 
Meetup openstack-sfbay-2015
Meetup openstack-sfbay-2015Meetup openstack-sfbay-2015
Meetup openstack-sfbay-2015dlfryar
 
Datadog- Monitoring In Motion
Datadog- Monitoring In Motion Datadog- Monitoring In Motion
Datadog- Monitoring In Motion Cloud Native Apps SF
 
TOSCA and Cloudify
TOSCA and CloudifyTOSCA and Cloudify
TOSCA and Cloudifydfilppi
 
Puppet Keynote: Puppet Camp London
Puppet Keynote: Puppet Camp LondonPuppet Keynote: Puppet Camp London
Puppet Keynote: Puppet Camp LondonPuppet
 
100% Puppet Cloud Deployment of Legacy Software
100% Puppet Cloud Deployment of Legacy Software100% Puppet Cloud Deployment of Legacy Software
100% Puppet Cloud Deployment of Legacy SoftwarePuppet
 
Orchestrating Cloud Applications With TOSCA
Orchestrating Cloud Applications With TOSCAOrchestrating Cloud Applications With TOSCA
Orchestrating Cloud Applications With TOSCAArthur Berezin
 
Deployment Automation on OpenStack with TOSCA and Cloudify
Deployment Automation on OpenStack with TOSCA and CloudifyDeployment Automation on OpenStack with TOSCA and Cloudify
Deployment Automation on OpenStack with TOSCA and CloudifyUri Cohen
 
Kubernetes for Serverless - Serverless Summit 2017 - Krishna Kumar
Kubernetes for Serverless  - Serverless Summit 2017 - Krishna KumarKubernetes for Serverless  - Serverless Summit 2017 - Krishna Kumar
Kubernetes for Serverless - Serverless Summit 2017 - Krishna KumarCodeOps Technologies LLP
 
Template Languages for OpenStack - Heat and TOSCA
Template Languages for OpenStack - Heat and TOSCATemplate Languages for OpenStack - Heat and TOSCA
Template Languages for OpenStack - Heat and TOSCACloud Native Day Tel Aviv
 
Using SaltStack to DevOps the enterprise
Using SaltStack to DevOps the enterpriseUsing SaltStack to DevOps the enterprise
Using SaltStack to DevOps the enterpriseChristian McHugh
 

What's hot (20)

2019 hashiconf seattle_consul_ioc
2019 hashiconf seattle_consul_ioc2019 hashiconf seattle_consul_ioc
2019 hashiconf seattle_consul_ioc
 
2019 hashiconf consul-templaterb
2019 hashiconf consul-templaterb2019 hashiconf consul-templaterb
2019 hashiconf consul-templaterb
 
VM Migration and Monitoring Software *SDLAB
VM Migration and Monitoring Software *SDLABVM Migration and Monitoring Software *SDLAB
VM Migration and Monitoring Software *SDLAB
 
Monitoring, the Prometheus Way - Julius Voltz, Prometheus
Monitoring, the Prometheus Way - Julius Voltz, Prometheus Monitoring, the Prometheus Way - Julius Voltz, Prometheus
Monitoring, the Prometheus Way - Julius Voltz, Prometheus
 
Puppet Camp Boston 2014: Keynote
Puppet Camp Boston 2014: Keynote Puppet Camp Boston 2014: Keynote
Puppet Camp Boston 2014: Keynote
 
Cloudify Open PaaS Stack for DevOps
Cloudify Open PaaS Stack for DevOps  Cloudify Open PaaS Stack for DevOps
Cloudify Open PaaS Stack for DevOps
 
Monitoring kubernetes across data center and cloud
Monitoring kubernetes across data center and cloudMonitoring kubernetes across data center and cloud
Monitoring kubernetes across data center and cloud
 
Tabtale story: Building a publishing and monitoring mobile games architecture...
Tabtale story: Building a publishing and monitoring mobile games architecture...Tabtale story: Building a publishing and monitoring mobile games architecture...
Tabtale story: Building a publishing and monitoring mobile games architecture...
 
2019 Lightning Talk: Discovery, Consul and Inversion of Control for the infr...
2019  Lightning Talk: Discovery, Consul and Inversion of Control for the infr...2019  Lightning Talk: Discovery, Consul and Inversion of Control for the infr...
2019 Lightning Talk: Discovery, Consul and Inversion of Control for the infr...
 
NetflixOSS and ZeroToDocker Talk
NetflixOSS and ZeroToDocker TalkNetflixOSS and ZeroToDocker Talk
NetflixOSS and ZeroToDocker Talk
 
Meetup openstack-sfbay-2015
Meetup openstack-sfbay-2015Meetup openstack-sfbay-2015
Meetup openstack-sfbay-2015
 
Datadog- Monitoring In Motion
Datadog- Monitoring In Motion Datadog- Monitoring In Motion
Datadog- Monitoring In Motion
 
TOSCA and Cloudify
TOSCA and CloudifyTOSCA and Cloudify
TOSCA and Cloudify
 
Puppet Keynote: Puppet Camp London
Puppet Keynote: Puppet Camp LondonPuppet Keynote: Puppet Camp London
Puppet Keynote: Puppet Camp London
 
100% Puppet Cloud Deployment of Legacy Software
100% Puppet Cloud Deployment of Legacy Software100% Puppet Cloud Deployment of Legacy Software
100% Puppet Cloud Deployment of Legacy Software
 
Orchestrating Cloud Applications With TOSCA
Orchestrating Cloud Applications With TOSCAOrchestrating Cloud Applications With TOSCA
Orchestrating Cloud Applications With TOSCA
 
Deployment Automation on OpenStack with TOSCA and Cloudify
Deployment Automation on OpenStack with TOSCA and CloudifyDeployment Automation on OpenStack with TOSCA and Cloudify
Deployment Automation on OpenStack with TOSCA and Cloudify
 
Kubernetes for Serverless - Serverless Summit 2017 - Krishna Kumar
Kubernetes for Serverless  - Serverless Summit 2017 - Krishna KumarKubernetes for Serverless  - Serverless Summit 2017 - Krishna Kumar
Kubernetes for Serverless - Serverless Summit 2017 - Krishna Kumar
 
Template Languages for OpenStack - Heat and TOSCA
Template Languages for OpenStack - Heat and TOSCATemplate Languages for OpenStack - Heat and TOSCA
Template Languages for OpenStack - Heat and TOSCA
 
Using SaltStack to DevOps the enterprise
Using SaltStack to DevOps the enterpriseUsing SaltStack to DevOps the enterprise
Using SaltStack to DevOps the enterprise
 

Viewers also liked

OpenStack Automation Overview
OpenStack Automation OverviewOpenStack Automation Overview
OpenStack Automation OverviewDmitri Zimine
 
Event driven-automation and workflows
Event driven-automation and workflowsEvent driven-automation and workflows
Event driven-automation and workflowsDmitri Zimine
 
The Cloud Convergence: OpenStack and Kubernetes.
The Cloud Convergence: OpenStack and Kubernetes.The Cloud Convergence: OpenStack and Kubernetes.
The Cloud Convergence: OpenStack and Kubernetes.Ihor Dvoretskyi
 
Deploying and managing container-based applications with OpenStack and Kubern...
Deploying and managing container-based applications with OpenStack and Kubern...Deploying and managing container-based applications with OpenStack and Kubern...
Deploying and managing container-based applications with OpenStack and Kubern...Ihor Dvoretskyi
 
Troubleshooting common oslo.messaging and RabbitMQ issues
Troubleshooting common oslo.messaging and RabbitMQ issuesTroubleshooting common oslo.messaging and RabbitMQ issues
Troubleshooting common oslo.messaging and RabbitMQ issuesMichael Klishin
 
Event Driven Automation Meetup May 14/2015
Event Driven Automation Meetup May 14/2015Event Driven Automation Meetup May 14/2015
Event Driven Automation Meetup May 14/2015Dmitri Zimine
 
Monitoring System Targeting OpenStack, Baremetal, and Network Fabric
Monitoring System Targeting OpenStack, Baremetal, and Network FabricMonitoring System Targeting OpenStack, Baremetal, and Network Fabric
Monitoring System Targeting OpenStack, Baremetal, and Network FabricJaesuk Ahn
 
OpenStack and OpenDaylight: An Integrated IaaS for SDN/NFV
OpenStack and OpenDaylight: An Integrated IaaS for SDN/NFVOpenStack and OpenDaylight: An Integrated IaaS for SDN/NFV
OpenStack and OpenDaylight: An Integrated IaaS for SDN/NFVCloud Native Day Tel Aviv
 

Viewers also liked (8)

OpenStack Automation Overview
OpenStack Automation OverviewOpenStack Automation Overview
OpenStack Automation Overview
 
Event driven-automation and workflows
Event driven-automation and workflowsEvent driven-automation and workflows
Event driven-automation and workflows
 
The Cloud Convergence: OpenStack and Kubernetes.
The Cloud Convergence: OpenStack and Kubernetes.The Cloud Convergence: OpenStack and Kubernetes.
The Cloud Convergence: OpenStack and Kubernetes.
 
Deploying and managing container-based applications with OpenStack and Kubern...
Deploying and managing container-based applications with OpenStack and Kubern...Deploying and managing container-based applications with OpenStack and Kubern...
Deploying and managing container-based applications with OpenStack and Kubern...
 
Troubleshooting common oslo.messaging and RabbitMQ issues
Troubleshooting common oslo.messaging and RabbitMQ issuesTroubleshooting common oslo.messaging and RabbitMQ issues
Troubleshooting common oslo.messaging and RabbitMQ issues
 
Event Driven Automation Meetup May 14/2015
Event Driven Automation Meetup May 14/2015Event Driven Automation Meetup May 14/2015
Event Driven Automation Meetup May 14/2015
 
Monitoring System Targeting OpenStack, Baremetal, and Network Fabric
Monitoring System Targeting OpenStack, Baremetal, and Network FabricMonitoring System Targeting OpenStack, Baremetal, and Network Fabric
Monitoring System Targeting OpenStack, Baremetal, and Network Fabric
 
OpenStack and OpenDaylight: An Integrated IaaS for SDN/NFV
OpenStack and OpenDaylight: An Integrated IaaS for SDN/NFVOpenStack and OpenDaylight: An Integrated IaaS for SDN/NFV
OpenStack and OpenDaylight: An Integrated IaaS for SDN/NFV
 

Similar to Mistral Hong Kong Unconference track

Triangle Devops Meetup 10/2015
Triangle Devops Meetup 10/2015Triangle Devops Meetup 10/2015
Triangle Devops Meetup 10/2015aspyker
 
Cloudify workshop at CCCEU 2014
Cloudify workshop at CCCEU 2014 Cloudify workshop at CCCEU 2014
Cloudify workshop at CCCEU 2014 Uri Cohen
 
Running Airflow Workflows as ETL Processes on Hadoop
Running Airflow Workflows as ETL Processes on HadoopRunning Airflow Workflows as ETL Processes on Hadoop
Running Airflow Workflows as ETL Processes on Hadoopclairvoyantllc
 
The Meteor Framework
The Meteor FrameworkThe Meteor Framework
The Meteor FrameworkDamien Magoni
 
Give your little scripts big wings: Using cron in the cloud with Amazon Simp...
Give your little scripts big wings:  Using cron in the cloud with Amazon Simp...Give your little scripts big wings:  Using cron in the cloud with Amazon Simp...
Give your little scripts big wings: Using cron in the cloud with Amazon Simp...Amazon Web Services
 
Clocker - How to Train your Docker Cloud
Clocker - How to Train your Docker CloudClocker - How to Train your Docker Cloud
Clocker - How to Train your Docker CloudAndrew Kennedy
 
Apache Druid Auto Scale-out/in for Streaming Data Ingestion on Kubernetes
Apache Druid Auto Scale-out/in for Streaming Data Ingestion on KubernetesApache Druid Auto Scale-out/in for Streaming Data Ingestion on Kubernetes
Apache Druid Auto Scale-out/in for Streaming Data Ingestion on KubernetesDataWorks Summit
 
[WSO2Con Asia 2018] Architecting for Container-native Environments
[WSO2Con Asia 2018] Architecting for Container-native Environments[WSO2Con Asia 2018] Architecting for Container-native Environments
[WSO2Con Asia 2018] Architecting for Container-native EnvironmentsWSO2
 
Orchestrating Linux Containers while tolerating failures
Orchestrating Linux Containers while tolerating failuresOrchestrating Linux Containers while tolerating failures
Orchestrating Linux Containers while tolerating failuresDocker, Inc.
 
Clocker - The Docker Cloud Maker
Clocker - The Docker Cloud MakerClocker - The Docker Cloud Maker
Clocker - The Docker Cloud MakerAndrew Kennedy
 
Stream and Batch Processing in the Cloud with Data Microservices
Stream and Batch Processing in the Cloud with Data MicroservicesStream and Batch Processing in the Cloud with Data Microservices
Stream and Batch Processing in the Cloud with Data Microservicesmarius_bogoevici
 
Neptune @ SoCal
Neptune @ SoCalNeptune @ SoCal
Neptune @ SoCalChris Bunch
 
GoDocker presentation
GoDocker presentationGoDocker presentation
GoDocker presentationOlivier Sallou
 
Clocker: Managing Container Networking and Placement
Clocker: Managing Container Networking and PlacementClocker: Managing Container Networking and Placement
Clocker: Managing Container Networking and PlacementDocker, Inc.
 
Openstack Overview
Openstack OverviewOpenstack Overview
Openstack Overviewrajdeep
 
How kubernetes operators can rescue dev secops in midst of a pandemic updated
How kubernetes operators can rescue dev secops in midst of a pandemic updatedHow kubernetes operators can rescue dev secops in midst of a pandemic updated
How kubernetes operators can rescue dev secops in midst of a pandemic updatedShikha Srivastava
 
Function Mesh for Apache Pulsar, the Way for Simple Streaming Solutions
Function Mesh for Apache Pulsar, the Way for Simple Streaming SolutionsFunction Mesh for Apache Pulsar, the Way for Simple Streaming Solutions
Function Mesh for Apache Pulsar, the Way for Simple Streaming SolutionsStreamNative
 
[RightScale Webinar] Architecting Databases in the cloud: How RightScale Doe...
[RightScale Webinar] Architecting Databases in the cloud:  How RightScale Doe...[RightScale Webinar] Architecting Databases in the cloud:  How RightScale Doe...
[RightScale Webinar] Architecting Databases in the cloud: How RightScale Doe...RightScale
 

Similar to Mistral Hong Kong Unconference track (20)

Triangle Devops Meetup 10/2015
Triangle Devops Meetup 10/2015Triangle Devops Meetup 10/2015
Triangle Devops Meetup 10/2015
 
Cloudify workshop at CCCEU 2014
Cloudify workshop at CCCEU 2014 Cloudify workshop at CCCEU 2014
Cloudify workshop at CCCEU 2014
 
Running Airflow Workflows as ETL Processes on Hadoop
Running Airflow Workflows as ETL Processes on HadoopRunning Airflow Workflows as ETL Processes on Hadoop
Running Airflow Workflows as ETL Processes on Hadoop
 
The Meteor Framework
The Meteor FrameworkThe Meteor Framework
The Meteor Framework
 
Give your little scripts big wings: Using cron in the cloud with Amazon Simp...
Give your little scripts big wings:  Using cron in the cloud with Amazon Simp...Give your little scripts big wings:  Using cron in the cloud with Amazon Simp...
Give your little scripts big wings: Using cron in the cloud with Amazon Simp...
 
Clocker - How to Train your Docker Cloud
Clocker - How to Train your Docker CloudClocker - How to Train your Docker Cloud
Clocker - How to Train your Docker Cloud
 
Apache Druid Auto Scale-out/in for Streaming Data Ingestion on Kubernetes
Apache Druid Auto Scale-out/in for Streaming Data Ingestion on KubernetesApache Druid Auto Scale-out/in for Streaming Data Ingestion on Kubernetes
Apache Druid Auto Scale-out/in for Streaming Data Ingestion on Kubernetes
 
[WSO2Con Asia 2018] Architecting for Container-native Environments
[WSO2Con Asia 2018] Architecting for Container-native Environments[WSO2Con Asia 2018] Architecting for Container-native Environments
[WSO2Con Asia 2018] Architecting for Container-native Environments
 
Orchestrating Linux Containers while tolerating failures
Orchestrating Linux Containers while tolerating failuresOrchestrating Linux Containers while tolerating failures
Orchestrating Linux Containers while tolerating failures
 
Clocker - The Docker Cloud Maker
Clocker - The Docker Cloud MakerClocker - The Docker Cloud Maker
Clocker - The Docker Cloud Maker
 
Stream and Batch Processing in the Cloud with Data Microservices
Stream and Batch Processing in the Cloud with Data MicroservicesStream and Batch Processing in the Cloud with Data Microservices
Stream and Batch Processing in the Cloud with Data Microservices
 
Neptune @ SoCal
Neptune @ SoCalNeptune @ SoCal
Neptune @ SoCal
 
GoDocker presentation
GoDocker presentationGoDocker presentation
GoDocker presentation
 
Clocker: Managing Container Networking and Placement
Clocker: Managing Container Networking and PlacementClocker: Managing Container Networking and Placement
Clocker: Managing Container Networking and Placement
 
Openstack Overview
Openstack OverviewOpenstack Overview
Openstack Overview
 
Microservices deck
Microservices deckMicroservices deck
Microservices deck
 
How kubernetes operators can rescue dev secops in midst of a pandemic updated
How kubernetes operators can rescue dev secops in midst of a pandemic updatedHow kubernetes operators can rescue dev secops in midst of a pandemic updated
How kubernetes operators can rescue dev secops in midst of a pandemic updated
 
Function Mesh for Apache Pulsar, the Way for Simple Streaming Solutions
Function Mesh for Apache Pulsar, the Way for Simple Streaming SolutionsFunction Mesh for Apache Pulsar, the Way for Simple Streaming Solutions
Function Mesh for Apache Pulsar, the Way for Simple Streaming Solutions
 
[RightScale Webinar] Architecting Databases in the cloud: How RightScale Doe...
[RightScale Webinar] Architecting Databases in the cloud:  How RightScale Doe...[RightScale Webinar] Architecting Databases in the cloud:  How RightScale Doe...
[RightScale Webinar] Architecting Databases in the cloud: How RightScale Doe...
 
Apache Spark Core
Apache Spark CoreApache Spark Core
Apache Spark Core
 

Recently uploaded

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel AraĂşjo
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 

Recently uploaded (20)

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 

Mistral Hong Kong Unconference track

  • 1. Mistral Task Orchestration and Scheduling service Task Orchestration and Scheduling service • Home: launchpad.net/mistral • Wiki: wiki.openstack.org/wiki/Mistral • IRC: #openstack-mistral • Me: Renat Akhmerov < rakhmerov@mirantis.com>
  • 2. Background • Realized by Murano team as a generic external state machine with HA and scalability • Discussed with and supported by the authors of the Convection proposal, Joshua Harlow and TaskFlow team • Joshua, Thanks!
  • 3. How is Mistral related to TaskFlow & Convection • Mistral implements the Convection (Workflow as a Service) and goes far beyond the initial ideas • TaskFlow library will be used for implementation • TaskFlow library will have Mistral engine to execute tasks over Mistral in a distributed manner
  • 4. Mistral Mission • Build a Task Orchestration and Scheduling service for OpenStack • Provide an easy and flexible mechanism for executing workflows that consist of interrelated tasks in a cloud environment • Help other OpenStack projects automate their internal workflows • Provide HA and Scalability for task/workflow execution
  • 5. Mistral Users • Infrastructure OpenStack developers : Nova, Heat, Murano, Solum etc. • System administrators : to use capabilities like Cloud Cron to be able to schedule helper cloudwide tasks (local VM processes, RESTful services, creating/terminating VMs, etc.) • Enterprise application developers : automate business processes consisting of multiple distributed processing steps
  • 6. Reasons to use Mistral 1. High Availability : ability to continue a workflow from the point it crashed at 2. Scalability: Mistral knows what parts of a workflow can be executed in parallel 3. Scheduling: workflows/tasks can be scheduled for periodical execution (e.g. every Tuesday at 3 am) 4. Observable state: can always see the details of the current execution state and history 5. Offloading dependency management : given what needs to be completed Mistral executes whatever tasks needed for that 6. Additional integration points : a 3rd party application can hook into deployment processes represented as Mistral workflows using events 7. Formalized task graphs are just easier to manage and understand : they can be visualized, analyzed and optimized
  • 7. Use Cases • Cloud Cron: a system administrator can schedule cloud tasks for periodical execution • Cloud Environment Deployment : a deployment tool or a system can represent deployment steps as a Mistral workflow and use Heat for every step as a software orchestration tool • Event Based Scheduling : e.g. Live Migration on CPU 100% from Ceilometer
  • 8. Cloud Cron • Single point of configuration and control • Wide range of tasks : local processes, RESTful services etc. • Monitoring & Management • HA & Scalability
  • 9. Cloud Environment Deployment • Formalized deployment workflow • Individual tasks use Heat to install applications • Dependency Management offloaded to Mistral • Multiple flows in parallel • Mistral provides HA and scalability • No need to use locking
  • 10. Event Based Scheduling • Live migration is an example • Workflow execution on external events • Various event types • Various event sources
  • 11. Key Mistral Features • Uploading custom graphs of tasks • Driven by simple DSL: YAML/JSON/XML • Task Scheduling: using UI or Cron patterns • Generic service: doesn’t do the actual work itself and acts as an HA coordinator signaling to workers about what needs to be done
  • 12. Main Concepts • Task Graph - a set of related tasks • Workflow - a subgraph involved into one execution • Flow - a path that can be processed independently • Target task - a task that needs to get completed in a particular case • Action - a particular piece of work associated with a task (signal)
  • 13. DSL # Tasks # Actions tasks: Task1: action: action1 actions: action1: transport: rest1 Task2: action: action2 action2: transport: amqp1 Task3: requires: Task1, Task2 action: action3 action3: transport: poll # Transports transports: rest1: type: REST url: http://some.url amqp1: type: AMQP host: my.host.org port: 5672 routing-key: a_queue … poll: type: POLL
  • 14. Data Flow (Concept) 1. Select a subset of input data 2. Process it 3. Merge it back in 4. Pass it on 5. Merge with parallel branches
  • 15. What about Mistral workers? • Core engine doesn’t start any workers • Workers are dynamic, configured in DSL • Types of workers: • • • Client application nodes REST services Other processes accessible by AMQP, SSH etc. • BUT! • Dedicated workers can be allocated using toolsets created on top of Mistral core engine
  • 16. Can Mistral do anything else? • Easy to build additional toolsets and frameworks • Potential capabilities include: • Domains (Namespaces) • Event subscription • Role Based Access Control • Task priorities • Task collocation • Language-oriented frameworks (Python, Java, etc.) • Plugin system to introduce new DSL keywords
  • 17. Is Mistral similar to Amazon Simple Workflow • In many ways Mistral is similar to Amazon SWF • Amazon SWF is oriented to language bindings (Java, Ruby, Python) • Conceptual differences in underlying model • Mistral is targeting to be much simpler • Mistral may later have Amazon SWF adapter
  • 18. Current Status • Documented all the core ideas and concepts • Prepared a draft of DSL/API specification • Planned the Roadmap • Started prototyping core ideas • Introduced at HK OpenStack design summit! :)
  • 19. Roadmap • Nov 25th, 2013. • • Dec 10th, 2013. • • DSL v1.0 and API v1.0 implementation Feb 20th, 2014. Release 0.2: • • Mistral PoC: Basic task orchestration, DSL, API and Scheduling Jan 20th, 2014. Release 0.1 • • DSL/API v1.0 specifications Task engine HA & scalability, Web UI for monitoring & management March 20th, 2014. Release 0.3: • Triggers (Cron, Events), Web UI for triggers (Cron, Events)