SlideShare a Scribd company logo
Apache AiravataBy Shameera Rathnayaka
About me
MSc Graduate student @ Indiana University
Developer of SciGaP Lab, Indiana University
Core Developer of Apache Airavata
Committer and Project Management Committee Member of Apache
Software Foundation (Apache Airavata, Apache Axis2)
Contributor of Apache Karaf, Apache Sandesha, Apache Rampart.
GSoC Student ( 2012 , 2013)
GSoC Mentor 2015
Goals for Module
Understand Apache Airavata design and implementation
See how we have incorporated lessons learned for running
production services.
See how Apache Airavata can be extended.
SEAGrid, PGA and Apache Airavata
SEAGrid and the PGA are clients to Apache Airavata middleware
services.
They run separately from Apache Airavata
The PGA is a reference implementation for the Airavata API
Using Airavata APIs, we can integrate other gateways
PGA clones
Jupyter notebooks
Your favorite web framework.
We’ll see how to clone the PGA in the next section
What is Apache Airavata?
An open source, openly governed software framework for executing
and managing computational jobs and workflows.
Managing the metadata associated with these jobs.
Supports local cluster, supercomputers, national grids, academic and
commercial clouds.
Basis of persistent gateway services platform (SciGaP)
Airavata Architectural Goals ...
Distributed Systems Concepts
Scalability
Fault Tolerance
Security
Component-Based Architecture
Loosely Coupled Components
Extension and expansion points
Operational Experience
Fault Handling: user, resource, and other errors
Experiment Recovery
Reliable Job Monitoring
High Level Architecture
AMQP
Messaging
API
server
Work Queue
Worker
Orchestrator Computational
Resources
Job Monitor
Registry
Workflow Engine
API Server
User
Support Multiple Gateways
AMQP
Messaging
API
server
Work Queue
Worker
Orchestrator
Computational
Resources
Job Monitor
Registry
Workflow Engine
API Server
Gateway B
Gateway C
Gateway AUser
User
User
Why Component Based Architecture Pattern?
Each component has specific work to do.
API Server – Hide all component from User
Orchestrator – Take Decisions and Selection
Worker – Execute set of Tasks
Registry - Data Catalog
Workflow Engine – Workflow Enactment
Easy to evolve with new technologies.
AMQP messaging provides inter-component communications.
You can add new components as subscribers to system messages
Scalability , Fault-tolerance and Recoverability
Airavata worker capacity can be increased and decreased on demand
to maintain performance and load spikes.
Airavata Workers scale horizontally.
Distribute jobs between workers using the internal work queue.
Worker
Worker
Work Queue
Orchestrator
Operational Fault Handling
User Errors
Pluggable job validation rules
Data Staging Errors
Retry on failure depend on situation ex: network glitches
Job Submission Errors
Retry on failure depend on situation ex: ssh connection issue, queue limit
Inform administrator in allocation issues
Verify Job submission
Job Failures on Remote Compute Resource
Copy standard out and error files
Security
It is important to have user authentication and authorization.
Airavata API security with WSO2 Identity Server.
Credential store manages all machine credentials.
SSH keys
SSH username & passwords.
Airavata provide user permission based on security role.
Super administrator
Administrator
User
Other Features …
Other Features …
Apache Thrift-based API allows users to use whatever language they
prefer in client side.
Or even you can plug different backend components written in
different languages.
Extendibility with multiple extension points.
Don’t require large infrastructure.
Incremental update with almost zero downtime.
Minimum overhead to dev ops.
Multiple Job Monitoring …
Airavata default job monitoring method is email
Airavata has SSH base job monitoring support too
Airavata UNICORE job monitoring
Plug your own job monitoring mechanism
Easy to plug new compute resources
Airavata comes with SLURM and PBS base job submission.
Airavata template mechanism make easy to plug different type of Job
submissions types.
Airavata has been extended to submit jobs to Jureca supercomputer
which has web service interface.
Integrating Jetstream as new computer resource and Jetstream cloud
provisioning.
How to get your client to talk with Airavata?
Airavata provide multiple client sdks.
We have heavily working with php (PGA web client), python (Jupyter
and dev test) and java (desktop client).
Use Airavata provided client sdk to talk directly to API Server.
Apache
Airavata
Apache Airavata
Road Map Highlight …
Airavata Data Management
Organization, Analystics, Collaboration
Airavata data analytic tool
Airavata workflow support
Airavata OpenStack support
Ansible scripts to automate large scale deployment in one click
Airavata component Docker containers
Airavata Mesos integration
Questions ?
syodage@indiana.edu
Additional Resources
Experiment Execution
Worker
Worker
Computational Resources
Email Notification
Submit Job
Submit Job
API
server
Experiment
API Server
Registry
Apache Zookeeper
Work Queue
Orchestrator
Execution Models
Experiment
Model
Process
Model
Task
Model
Job
Model
Task
Model
Task
Model
Task
Model
Process
ModelProcess
ModelProcess
Model
Task
ModelTask
ModelTask
Model
Execution Flow

More Related Content

What's hot

Mule soft meetup_charlotte_4__draft_v2.0
Mule soft meetup_charlotte_4__draft_v2.0Mule soft meetup_charlotte_4__draft_v2.0
Mule soft meetup_charlotte_4__draft_v2.0
Subhash Patel
 
MuleSoft London Community February 2020 - MuleSoft and OData
MuleSoft London Community February 2020 - MuleSoft and ODataMuleSoft London Community February 2020 - MuleSoft and OData
MuleSoft London Community February 2020 - MuleSoft and OData
Pace Integration
 
Making your API behave like a big boy
Making your API behave like a big boyMaking your API behave like a big boy
Making your API behave like a big boy
Andrew Siemer
 
Introduction To Angular.js - SpringPeople
Introduction To Angular.js - SpringPeopleIntroduction To Angular.js - SpringPeople
Introduction To Angular.js - SpringPeople
SpringPeople
 
Getting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless Architectures
Amazon Web Services
 
Serverless Architecture Patterns - Manoj Ganapathi - Serverless Summit
Serverless Architecture Patterns - Manoj Ganapathi - Serverless SummitServerless Architecture Patterns - Manoj Ganapathi - Serverless Summit
Serverless Architecture Patterns - Manoj Ganapathi - Serverless Summit
CodeOps Technologies LLP
 
API Management For Building Software Applications Powerpoint Presentation Slides
API Management For Building Software Applications Powerpoint Presentation SlidesAPI Management For Building Software Applications Powerpoint Presentation Slides
API Management For Building Software Applications Powerpoint Presentation Slides
SlideTeam
 
Datadog Partner Demo- AWS Container Day 2019 Barcelona
Datadog Partner Demo- AWS Container Day 2019 BarcelonaDatadog Partner Demo- AWS Container Day 2019 Barcelona
Datadog Partner Demo- AWS Container Day 2019 Barcelona
Amazon Web Services
 
An introduction to Serverless
An introduction to ServerlessAn introduction to Serverless
An introduction to Serverless
Adrien Blind
 
Serverless by examples and case studies
Serverless by examples and case studiesServerless by examples and case studies
Serverless by examples and case studies
CodeOps Technologies LLP
 
Integrating Security Controls into the Development and Delivery Pipeline
Integrating Security Controls into the Development and Delivery PipelineIntegrating Security Controls into the Development and Delivery Pipeline
Integrating Security Controls into the Development and Delivery Pipeline
Akamai Developers & Admins
 
Automation at the Edge
Automation at the EdgeAutomation at the Edge
Automation at the Edge
Akamai Developers & Admins
 
Akamai for Dev Ops Current Capabilities - Atlanta DevOps World Tour
Akamai for Dev Ops Current Capabilities - Atlanta DevOps World TourAkamai for Dev Ops Current Capabilities - Atlanta DevOps World Tour
Akamai for Dev Ops Current Capabilities - Atlanta DevOps World Tour
Akamai Developers & Admins
 
apidays LIVE Jakarta - Better API DX with a CLI by Phil Nash, Twilio
apidays LIVE Jakarta - Better API DX with a CLI by Phil Nash, Twilioapidays LIVE Jakarta - Better API DX with a CLI by Phil Nash, Twilio
apidays LIVE Jakarta - Better API DX with a CLI by Phil Nash, Twilio
apidays
 
Intro To AI & ML at Amazon: Collision 2018
Intro To AI & ML at Amazon: Collision 2018Intro To AI & ML at Amazon: Collision 2018
Intro To AI & ML at Amazon: Collision 2018
Amazon Web Services
 
Ten Battle-Tested Tips for Atlassian Connect Add-ons
Ten Battle-Tested Tips for Atlassian Connect Add-onsTen Battle-Tested Tips for Atlassian Connect Add-ons
Ten Battle-Tested Tips for Atlassian Connect Add-ons
Atlassian
 
Introduction To Groovy And Grails - SpringPeople
Introduction To Groovy And Grails - SpringPeopleIntroduction To Groovy And Grails - SpringPeople
Introduction To Groovy And Grails - SpringPeople
SpringPeople
 
Rob Gruhl and Erik Erikson - What We Learned in 18 Serverless Months at Nords...
Rob Gruhl and Erik Erikson - What We Learned in 18 Serverless Months at Nords...Rob Gruhl and Erik Erikson - What We Learned in 18 Serverless Months at Nords...
Rob Gruhl and Erik Erikson - What We Learned in 18 Serverless Months at Nords...
ServerlessConf
 
Ben Kehoe - Serverless Architecture for the Internet of Things
Ben Kehoe - Serverless Architecture for the Internet of ThingsBen Kehoe - Serverless Architecture for the Internet of Things
Ben Kehoe - Serverless Architecture for the Internet of Things
ServerlessConf
 

What's hot (20)

Mule soft meetup_charlotte_4__draft_v2.0
Mule soft meetup_charlotte_4__draft_v2.0Mule soft meetup_charlotte_4__draft_v2.0
Mule soft meetup_charlotte_4__draft_v2.0
 
MuleSoft London Community February 2020 - MuleSoft and OData
MuleSoft London Community February 2020 - MuleSoft and ODataMuleSoft London Community February 2020 - MuleSoft and OData
MuleSoft London Community February 2020 - MuleSoft and OData
 
Making your API behave like a big boy
Making your API behave like a big boyMaking your API behave like a big boy
Making your API behave like a big boy
 
Introduction To Angular.js - SpringPeople
Introduction To Angular.js - SpringPeopleIntroduction To Angular.js - SpringPeople
Introduction To Angular.js - SpringPeople
 
Getting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless Architectures
 
Serverless Architecture Patterns - Manoj Ganapathi - Serverless Summit
Serverless Architecture Patterns - Manoj Ganapathi - Serverless SummitServerless Architecture Patterns - Manoj Ganapathi - Serverless Summit
Serverless Architecture Patterns - Manoj Ganapathi - Serverless Summit
 
API Management For Building Software Applications Powerpoint Presentation Slides
API Management For Building Software Applications Powerpoint Presentation SlidesAPI Management For Building Software Applications Powerpoint Presentation Slides
API Management For Building Software Applications Powerpoint Presentation Slides
 
Datadog Partner Demo- AWS Container Day 2019 Barcelona
Datadog Partner Demo- AWS Container Day 2019 BarcelonaDatadog Partner Demo- AWS Container Day 2019 Barcelona
Datadog Partner Demo- AWS Container Day 2019 Barcelona
 
An introduction to Serverless
An introduction to ServerlessAn introduction to Serverless
An introduction to Serverless
 
Scale net apps in aws
Scale net apps in awsScale net apps in aws
Scale net apps in aws
 
Serverless by examples and case studies
Serverless by examples and case studiesServerless by examples and case studies
Serverless by examples and case studies
 
Integrating Security Controls into the Development and Delivery Pipeline
Integrating Security Controls into the Development and Delivery PipelineIntegrating Security Controls into the Development and Delivery Pipeline
Integrating Security Controls into the Development and Delivery Pipeline
 
Automation at the Edge
Automation at the EdgeAutomation at the Edge
Automation at the Edge
 
Akamai for Dev Ops Current Capabilities - Atlanta DevOps World Tour
Akamai for Dev Ops Current Capabilities - Atlanta DevOps World TourAkamai for Dev Ops Current Capabilities - Atlanta DevOps World Tour
Akamai for Dev Ops Current Capabilities - Atlanta DevOps World Tour
 
apidays LIVE Jakarta - Better API DX with a CLI by Phil Nash, Twilio
apidays LIVE Jakarta - Better API DX with a CLI by Phil Nash, Twilioapidays LIVE Jakarta - Better API DX with a CLI by Phil Nash, Twilio
apidays LIVE Jakarta - Better API DX with a CLI by Phil Nash, Twilio
 
Intro To AI & ML at Amazon: Collision 2018
Intro To AI & ML at Amazon: Collision 2018Intro To AI & ML at Amazon: Collision 2018
Intro To AI & ML at Amazon: Collision 2018
 
Ten Battle-Tested Tips for Atlassian Connect Add-ons
Ten Battle-Tested Tips for Atlassian Connect Add-onsTen Battle-Tested Tips for Atlassian Connect Add-ons
Ten Battle-Tested Tips for Atlassian Connect Add-ons
 
Introduction To Groovy And Grails - SpringPeople
Introduction To Groovy And Grails - SpringPeopleIntroduction To Groovy And Grails - SpringPeople
Introduction To Groovy And Grails - SpringPeople
 
Rob Gruhl and Erik Erikson - What We Learned in 18 Serverless Months at Nords...
Rob Gruhl and Erik Erikson - What We Learned in 18 Serverless Months at Nords...Rob Gruhl and Erik Erikson - What We Learned in 18 Serverless Months at Nords...
Rob Gruhl and Erik Erikson - What We Learned in 18 Serverless Months at Nords...
 
Ben Kehoe - Serverless Architecture for the Internet of Things
Ben Kehoe - Serverless Architecture for the Internet of ThingsBen Kehoe - Serverless Architecture for the Internet of Things
Ben Kehoe - Serverless Architecture for the Internet of Things
 

Viewers also liked

Encimera ZANUSSI ZEI6840FBA
Encimera ZANUSSI ZEI6840FBAEncimera ZANUSSI ZEI6840FBA
Encimera ZANUSSI ZEI6840FBA
Alsako Electrodomésticos
 
EUROSTARS MIRASIERRA SUITES
EUROSTARS MIRASIERRA SUITESEUROSTARS MIRASIERRA SUITES
EUROSTARS MIRASIERRA SUITES
ASPM
 
ENTREVISTAMOS A M. JESÚS BLANCO
ENTREVISTAMOS A M. JESÚS BLANCOENTREVISTAMOS A M. JESÚS BLANCO
ENTREVISTAMOS A M. JESÚS BLANCO
ASPM
 
PRACTICA III
PRACTICA IIIPRACTICA III
PRACTICA III
99laurabueso99
 
1 om ch
1 om ch1 om ch
1 om ch
YchebnikRU
 
Horno AEG BE2013221M
Horno AEG BE2013221MHorno AEG BE2013221M
Horno AEG BE2013221M
Alsako Electrodomésticos
 
I will save water!!!
I will save water!!!I will save water!!!
I will save water!!!
Raja Dushyant Senger
 
Manual zanussi secadora zdp7202pz
Manual zanussi   secadora zdp7202pzManual zanussi   secadora zdp7202pz
Manual zanussi secadora zdp7202pz
Alsako Electrodomésticos
 
Nevera ZANUSSI ZUA14020SA
Nevera ZANUSSI ZUA14020SANevera ZANUSSI ZUA14020SA
Nevera ZANUSSI ZUA14020SA
Alsako Electrodomésticos
 
Cluster_Performance_Apache_Kafak_vs_RabbitMQ
Cluster_Performance_Apache_Kafak_vs_RabbitMQCluster_Performance_Apache_Kafak_vs_RabbitMQ
Cluster_Performance_Apache_Kafak_vs_RabbitMQShameera Rathnayaka
 
المكتبة الزيتونية سمير باني
المكتبة الزيتونية سمير بانيالمكتبة الزيتونية سمير باني
المكتبة الزيتونية سمير باني
Minyar Sassi Hidri
 
Nevera Smeg FQ60NPE
Nevera Smeg FQ60NPENevera Smeg FQ60NPE
Nevera Smeg FQ60NPE
Alsako Electrodomésticos
 

Viewers also liked (13)

Encimera ZANUSSI ZEI6840FBA
Encimera ZANUSSI ZEI6840FBAEncimera ZANUSSI ZEI6840FBA
Encimera ZANUSSI ZEI6840FBA
 
EUROSTARS MIRASIERRA SUITES
EUROSTARS MIRASIERRA SUITESEUROSTARS MIRASIERRA SUITES
EUROSTARS MIRASIERRA SUITES
 
ENTREVISTAMOS A M. JESÚS BLANCO
ENTREVISTAMOS A M. JESÚS BLANCOENTREVISTAMOS A M. JESÚS BLANCO
ENTREVISTAMOS A M. JESÚS BLANCO
 
PRACTICA III
PRACTICA IIIPRACTICA III
PRACTICA III
 
1 om ch
1 om ch1 om ch
1 om ch
 
Horno AEG BE2013221M
Horno AEG BE2013221MHorno AEG BE2013221M
Horno AEG BE2013221M
 
I will save water!!!
I will save water!!!I will save water!!!
I will save water!!!
 
Manual zanussi secadora zdp7202pz
Manual zanussi   secadora zdp7202pzManual zanussi   secadora zdp7202pz
Manual zanussi secadora zdp7202pz
 
Nevera ZANUSSI ZUA14020SA
Nevera ZANUSSI ZUA14020SANevera ZANUSSI ZUA14020SA
Nevera ZANUSSI ZUA14020SA
 
Evolución de las relaciones públicas
Evolución de las relaciones públicasEvolución de las relaciones públicas
Evolución de las relaciones públicas
 
Cluster_Performance_Apache_Kafak_vs_RabbitMQ
Cluster_Performance_Apache_Kafak_vs_RabbitMQCluster_Performance_Apache_Kafak_vs_RabbitMQ
Cluster_Performance_Apache_Kafak_vs_RabbitMQ
 
المكتبة الزيتونية سمير باني
المكتبة الزيتونية سمير بانيالمكتبة الزيتونية سمير باني
المكتبة الزيتونية سمير باني
 
Nevera Smeg FQ60NPE
Nevera Smeg FQ60NPENevera Smeg FQ60NPE
Nevera Smeg FQ60NPE
 

Similar to Airavata_Architecture_xsede16

XSEDE14 SciGaP-Apache Airavata Tutorial
XSEDE14 SciGaP-Apache Airavata TutorialXSEDE14 SciGaP-Apache Airavata Tutorial
XSEDE14 SciGaP-Apache Airavata Tutorial
marpierc
 
Gsoc airavata
Gsoc airavataGsoc airavata
Gsoc airavatasmarru
 
Java Web Programming on Google Cloud Platform [1/3] : Google App Engine
Java Web Programming on Google Cloud Platform [1/3] : Google App EngineJava Web Programming on Google Cloud Platform [1/3] : Google App Engine
Java Web Programming on Google Cloud Platform [1/3] : Google App Engine
IMC Institute
 
Google App Engine
Google App EngineGoogle App Engine
Google App Engine
Software Park Thailand
 
Explore Advanced CA Release Automation Configuration Topics
Explore Advanced CA Release Automation Configuration TopicsExplore Advanced CA Release Automation Configuration Topics
Explore Advanced CA Release Automation Configuration Topics
CA Technologies
 
Aug NYC July 12 event
Aug NYC July 12 eventAug NYC July 12 event
Aug NYC July 12 event
AUGNYC
 
Hortonworks Technical Workshop: Apache Ambari
Hortonworks Technical Workshop:   Apache AmbariHortonworks Technical Workshop:   Apache Ambari
Hortonworks Technical Workshop: Apache Ambari
Hortonworks
 
Surekha_haoop_exp
Surekha_haoop_expSurekha_haoop_exp
Surekha_haoop_expsurekhakadi
 
Spring Boot & Spring Cloud Apps on Pivotal Application Service - Daniel Lavoie
Spring Boot & Spring Cloud Apps on Pivotal Application Service - Daniel LavoieSpring Boot & Spring Cloud Apps on Pivotal Application Service - Daniel Lavoie
Spring Boot & Spring Cloud Apps on Pivotal Application Service - Daniel Lavoie
VMware Tanzu
 
Apache Airavata
Apache AiravataApache Airavata
Apache Airavata
Mike Frampton
 
SAP PI and SOA Overview
SAP PI and SOA OverviewSAP PI and SOA Overview
SAP PI and SOA Overview
Sascha Wenninger
 
NET Aspire - NET Conf IL 2024 - Tamir Dresher.pdf
NET Aspire - NET Conf IL 2024 - Tamir Dresher.pdfNET Aspire - NET Conf IL 2024 - Tamir Dresher.pdf
NET Aspire - NET Conf IL 2024 - Tamir Dresher.pdf
Tamir Dresher
 
Mashups
MashupsMashups
Mashups
Johan Eltes
 
API Gateway with legend lambada
API Gateway with legend lambadaAPI Gateway with legend lambada
API Gateway with legend lambada
Squash Apps Pvt Ltd
 
How modernizing enterprise applications gives you a competitive advantage
How modernizing enterprise applications gives you a competitive advantageHow modernizing enterprise applications gives you a competitive advantage
How modernizing enterprise applications gives you a competitive advantage
Edward Burns
 
WS-VLAM workflow
WS-VLAM workflowWS-VLAM workflow
WS-VLAM workflowguest6295d0
 
SpringOne Tour Denver - Spring Boot & Spring Cloud on Pivotal Application Ser...
SpringOne Tour Denver - Spring Boot & Spring Cloud on Pivotal Application Ser...SpringOne Tour Denver - Spring Boot & Spring Cloud on Pivotal Application Ser...
SpringOne Tour Denver - Spring Boot & Spring Cloud on Pivotal Application Ser...
VMware Tanzu
 
Why and How to Monitor Application Performance in Azure
Why and How to Monitor Application Performance in AzureWhy and How to Monitor Application Performance in Azure
Why and How to Monitor Application Performance in Azure
Riverbed Technology
 
Why and How to Monitor App Performance in Azure
Why and How to Monitor App Performance in AzureWhy and How to Monitor App Performance in Azure
Why and How to Monitor App Performance in Azure
Ian Downard
 

Similar to Airavata_Architecture_xsede16 (20)

XSEDE14 SciGaP-Apache Airavata Tutorial
XSEDE14 SciGaP-Apache Airavata TutorialXSEDE14 SciGaP-Apache Airavata Tutorial
XSEDE14 SciGaP-Apache Airavata Tutorial
 
Gsoc airavata
Gsoc airavataGsoc airavata
Gsoc airavata
 
Java Web Programming on Google Cloud Platform [1/3] : Google App Engine
Java Web Programming on Google Cloud Platform [1/3] : Google App EngineJava Web Programming on Google Cloud Platform [1/3] : Google App Engine
Java Web Programming on Google Cloud Platform [1/3] : Google App Engine
 
Google App Engine
Google App EngineGoogle App Engine
Google App Engine
 
Explore Advanced CA Release Automation Configuration Topics
Explore Advanced CA Release Automation Configuration TopicsExplore Advanced CA Release Automation Configuration Topics
Explore Advanced CA Release Automation Configuration Topics
 
Aug NYC July 12 event
Aug NYC July 12 eventAug NYC July 12 event
Aug NYC July 12 event
 
Hortonworks Technical Workshop: Apache Ambari
Hortonworks Technical Workshop:   Apache AmbariHortonworks Technical Workshop:   Apache Ambari
Hortonworks Technical Workshop: Apache Ambari
 
Surekha_haoop_exp
Surekha_haoop_expSurekha_haoop_exp
Surekha_haoop_exp
 
Spring Boot & Spring Cloud Apps on Pivotal Application Service - Daniel Lavoie
Spring Boot & Spring Cloud Apps on Pivotal Application Service - Daniel LavoieSpring Boot & Spring Cloud Apps on Pivotal Application Service - Daniel Lavoie
Spring Boot & Spring Cloud Apps on Pivotal Application Service - Daniel Lavoie
 
Apache Airavata
Apache AiravataApache Airavata
Apache Airavata
 
Mashing Up Manufacturing
Mashing Up ManufacturingMashing Up Manufacturing
Mashing Up Manufacturing
 
SAP PI and SOA Overview
SAP PI and SOA OverviewSAP PI and SOA Overview
SAP PI and SOA Overview
 
NET Aspire - NET Conf IL 2024 - Tamir Dresher.pdf
NET Aspire - NET Conf IL 2024 - Tamir Dresher.pdfNET Aspire - NET Conf IL 2024 - Tamir Dresher.pdf
NET Aspire - NET Conf IL 2024 - Tamir Dresher.pdf
 
Mashups
MashupsMashups
Mashups
 
API Gateway with legend lambada
API Gateway with legend lambadaAPI Gateway with legend lambada
API Gateway with legend lambada
 
How modernizing enterprise applications gives you a competitive advantage
How modernizing enterprise applications gives you a competitive advantageHow modernizing enterprise applications gives you a competitive advantage
How modernizing enterprise applications gives you a competitive advantage
 
WS-VLAM workflow
WS-VLAM workflowWS-VLAM workflow
WS-VLAM workflow
 
SpringOne Tour Denver - Spring Boot & Spring Cloud on Pivotal Application Ser...
SpringOne Tour Denver - Spring Boot & Spring Cloud on Pivotal Application Ser...SpringOne Tour Denver - Spring Boot & Spring Cloud on Pivotal Application Ser...
SpringOne Tour Denver - Spring Boot & Spring Cloud on Pivotal Application Ser...
 
Why and How to Monitor Application Performance in Azure
Why and How to Monitor Application Performance in AzureWhy and How to Monitor Application Performance in Azure
Why and How to Monitor Application Performance in Azure
 
Why and How to Monitor App Performance in Azure
Why and How to Monitor App Performance in AzureWhy and How to Monitor App Performance in Azure
Why and How to Monitor App Performance in Azure
 

Airavata_Architecture_xsede16

  • 2. About me MSc Graduate student @ Indiana University Developer of SciGaP Lab, Indiana University Core Developer of Apache Airavata Committer and Project Management Committee Member of Apache Software Foundation (Apache Airavata, Apache Axis2) Contributor of Apache Karaf, Apache Sandesha, Apache Rampart. GSoC Student ( 2012 , 2013) GSoC Mentor 2015
  • 3. Goals for Module Understand Apache Airavata design and implementation See how we have incorporated lessons learned for running production services. See how Apache Airavata can be extended.
  • 4. SEAGrid, PGA and Apache Airavata SEAGrid and the PGA are clients to Apache Airavata middleware services. They run separately from Apache Airavata The PGA is a reference implementation for the Airavata API Using Airavata APIs, we can integrate other gateways PGA clones Jupyter notebooks Your favorite web framework. We’ll see how to clone the PGA in the next section
  • 5. What is Apache Airavata? An open source, openly governed software framework for executing and managing computational jobs and workflows. Managing the metadata associated with these jobs. Supports local cluster, supercomputers, national grids, academic and commercial clouds. Basis of persistent gateway services platform (SciGaP)
  • 6. Airavata Architectural Goals ... Distributed Systems Concepts Scalability Fault Tolerance Security Component-Based Architecture Loosely Coupled Components Extension and expansion points Operational Experience Fault Handling: user, resource, and other errors Experiment Recovery Reliable Job Monitoring
  • 7. High Level Architecture AMQP Messaging API server Work Queue Worker Orchestrator Computational Resources Job Monitor Registry Workflow Engine API Server User
  • 8. Support Multiple Gateways AMQP Messaging API server Work Queue Worker Orchestrator Computational Resources Job Monitor Registry Workflow Engine API Server Gateway B Gateway C Gateway AUser User User
  • 9. Why Component Based Architecture Pattern? Each component has specific work to do. API Server – Hide all component from User Orchestrator – Take Decisions and Selection Worker – Execute set of Tasks Registry - Data Catalog Workflow Engine – Workflow Enactment Easy to evolve with new technologies. AMQP messaging provides inter-component communications. You can add new components as subscribers to system messages
  • 10. Scalability , Fault-tolerance and Recoverability Airavata worker capacity can be increased and decreased on demand to maintain performance and load spikes. Airavata Workers scale horizontally. Distribute jobs between workers using the internal work queue. Worker Worker Work Queue Orchestrator
  • 11. Operational Fault Handling User Errors Pluggable job validation rules Data Staging Errors Retry on failure depend on situation ex: network glitches Job Submission Errors Retry on failure depend on situation ex: ssh connection issue, queue limit Inform administrator in allocation issues Verify Job submission Job Failures on Remote Compute Resource Copy standard out and error files
  • 12. Security It is important to have user authentication and authorization. Airavata API security with WSO2 Identity Server. Credential store manages all machine credentials. SSH keys SSH username & passwords. Airavata provide user permission based on security role. Super administrator Administrator User
  • 14. Other Features … Apache Thrift-based API allows users to use whatever language they prefer in client side. Or even you can plug different backend components written in different languages. Extendibility with multiple extension points. Don’t require large infrastructure. Incremental update with almost zero downtime. Minimum overhead to dev ops.
  • 15. Multiple Job Monitoring … Airavata default job monitoring method is email Airavata has SSH base job monitoring support too Airavata UNICORE job monitoring Plug your own job monitoring mechanism
  • 16. Easy to plug new compute resources Airavata comes with SLURM and PBS base job submission. Airavata template mechanism make easy to plug different type of Job submissions types. Airavata has been extended to submit jobs to Jureca supercomputer which has web service interface. Integrating Jetstream as new computer resource and Jetstream cloud provisioning.
  • 17. How to get your client to talk with Airavata? Airavata provide multiple client sdks. We have heavily working with php (PGA web client), python (Jupyter and dev test) and java (desktop client). Use Airavata provided client sdk to talk directly to API Server. Apache Airavata Apache Airavata
  • 18. Road Map Highlight … Airavata Data Management Organization, Analystics, Collaboration Airavata data analytic tool Airavata workflow support Airavata OpenStack support Ansible scripts to automate large scale deployment in one click Airavata component Docker containers Airavata Mesos integration
  • 21. Experiment Execution Worker Worker Computational Resources Email Notification Submit Job Submit Job API server Experiment API Server Registry Apache Zookeeper Work Queue Orchestrator

Editor's Notes

  1. 1. Each component has specific work to do. 2. AMQP messaging provides inter-component communications. 3. Easy to evolve with new technologies. 4. You can add new components as subscribers to system messages
  2. Keep this simple You can deploy airavata setup with one worker. If that worker only have enough resoruces to handle 1000 live jobs and at some point you need to support for more than 1000 then you can add another worker instance.
  3. Categrorize – Infrastructure, Application, User, Gateway Operator (Allocations)
  4. SLURM- The Simple Linux Utility for Resource Management (Slurm) is an open source, fault-tolerant, and highly scalable cluster management and job scheduling system for large and small Linux clusters PBS – Portable Batch System, Job Scheduling Jetstream, led by the Indiana University Pervasive Technology Institute (PTI), will add cloud-based computation to the national cyberinfrastructure. Jetstream will be attractive to communities who have not been users of traditional HPC systems, but who would benefit from advanced computational capabilities. SLURM : comet , stampede PBS : bigred2 , karst
  5. If you attended morning session, Sudhakar did a nice demo with his seagrid desktop client. You already saw how pga works. you will be able to see some of api call with jupyter notebook session which use python sdk.
  6. If you attended morning session, Sudhakar did a nice demo with his seagrid desktop client. You already saw how pga works. you will be able to see some of api call with jupyter notebook session which use python sdk.